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

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Sun Sep 01 2002 - 11:40:51 EST


>>>>> " " == 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/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:14 EST