Re: [PATCH 02/10] Task Containers(V11): Add tasks file interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/20/07, James Morris <jmorris@xxxxxxxxx> 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
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux