On 7/20/07, James Morris <[EMAIL PROTECTED]> wrote:
> > + if ((current->euid) && (current->euid != tsk->uid)
> > + && (current->euid != tsk->suid)) {
> > + put_task_struct(tsk);
> > + return -EACCES;
>
> I wonder if we should allow CAP_SYS_ADMIN to do this, too.
>
Yes, I ought to replace "current->euid" with "capable(CAP_SYS_ADMIN)".
Thanks,
Paul
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech