Re: [PATCH 01/24] CRED: Introduce a COW credentials record

2007-09-26 Thread David Howells
Al Viro <[EMAIL PROTECTED]> wrote: > Umm... Perhaps a better primitive would be "make sure that our cred is > not shared with anybody, creating a copy and redirecting reference to > it if needed". I wanted to make the point that once a cred record was made live - i.e. exposed to the rest of the

Re: [PATCH 01/24] CRED: Introduce a COW credentials record

2007-09-26 Thread Al Viro
On Wed, Sep 26, 2007 at 03:21:05PM +0100, David Howells wrote: > To alter the credentials record, a copy must be made. This copy may then be > altered and then the pointer in the task_struct redirected to it. From that > point on the new record should be considered immutable. Umm... Perhaps a b