Re: [RFC 4/5] user namespaces: allow killing tasks in your own orchild userns

From: Serge E. Hallyn
Date: Sun Jan 02 2011 - 09:38:36 EST


Quoting Eric W. Biederman (ebiederm@xxxxxxxxxxxx):
> > +static inline int kill_ok_by_cred(struct task_struct *t)
> > +{
> > + struct cred *cred = current_cred();
> > + struct cred *tcred = __task_cred(t);

(Note, here and elsewhere these should have been const. My next posting,
with some new patches, will have that fix)

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