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

Serge E. Hallyn serge at hallyn.com
Sun Jan 2 06:39:20 PST 2011


Quoting Eric W. Biederman (ebiederm at xmission.com):
> > +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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list