[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


More information about the Containers mailing list