On Thu, 04 Jan 2007 19:07:00 GMT, Frederik Deweerdt said: > On Thu, Jan 04, 2007 at 12:13:10PM -0600, Serge E. Hallyn wrote: > > From: Serge E. Hallyn <[email protected]> > > Subject: [PATCH -mm 8/8] user ns: implement user ns unshare > > > > Implement CLONE_NEWUSER flag useable at clone/unshare. > > > > Signed-off-by: Serge E. Hallyn <[email protected]> > > --- > > > int copy_user_ns(int flags, struct task_struct *tsk) > > { > > - struct user_namespace *old_ns = tsk->nsproxy->user_ns; > > + struct user_namespace *new_ns, *old_ns = tsk->nsproxy->user_ns; > > int err = 0; > ^^^^^^^^^^^^ > The "= 0" is superfluous here. Umm? bss gets cleared automagically, but when did we start auto-zeroing the stack?
Attachment:
pgpXrlqE8jhBR.pgp
Description: PGP signature
- Follow-Ups:
- Re: [PATCH -mm 8/8] user ns: implement user ns unshare
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH -mm 8/8] user ns: implement user ns unshare
- References:
- [PATCH -mm 0/8] user ns: Introduction
- From: "Serge E. Hallyn" <[email protected]>
- [PATCH -mm 8/8] user ns: implement user ns unshare
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH -mm 8/8] user ns: implement user ns unshare
- From: Frederik Deweerdt <[email protected]>
- [PATCH -mm 0/8] user ns: Introduction
- Prev by Date: Re: 2.6.20-rc2-mm1 -- INFO: possible recursive locking detected
- Next by Date: Re: Linux 2.6.16.37
- Previous by thread: Re: [PATCH -mm 8/8] user ns: implement user ns unshare
- Next by thread: Re: [PATCH -mm 8/8] user ns: implement user ns unshare
- Index(es):