On 11/14, Srivatsa Vaddagiri wrote:
>
> On Wed, Nov 14, 2007 at 06:17:08PM +0300, Oleg Nesterov wrote:
> > Suppose that old user_struct/task_group is freed/reused, and the task does
> 
> Shouldn't this old user actually be the root user_struct?

Well, the S_ISUID application can switch ->user from !root_user (note that
setuid exec doesn't change ->user), and we also have CAP_SETUID...

But yes, I agree, this all is very unlikely.

Oleg.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to