Re: [PATCH] Initial support for struct vfs_cred [0/1]

Trond Myklebust (trond.myklebust@fys.uio.no)
Sun, 1 Sep 2002 18:40:51 +0200


>>>>> " " == Luca Barbieri <ldb@ldb.ods.org> writes:

>> You are forgetting that the fscred might simultaneously be
>> referenced by an open struct file. Are you saying that this
>> file should suddenly see its credential change?
> No, it cannot be referenced by an open struct file because you
> copy the structure, not pointers to it.

So you are proposing to optimize for the rare case of setuid(),
instead of the more common case of file open()?

Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/