[lkml]   [2011]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][PATCH 0/3] fork: Add the ability to create tasks with given pids
Hey, Oleg.

On Wed, Nov 23, 2011 at 06:26:36PM +0100, Oleg Nesterov wrote:
> On 11/23, Tejun Heo wrote:
> >
> > I see. So, let's do it for root for now and later add finer grained
> > CAP as necessary/viable.
> Agreed.
> Stupid off-topic question, I am just curious... Why /proc/sys
> dislikes chmod ? I do not understand this code, but it seems
> that it would be simple to change proc_sys_setattr() to respect
> ATTR_MODE and update PROC_I(inode)->sysctl_entry->mode, no?

I have no idea either but suspect it's something historical. It came
from sysctl and sysctl didn't have any way to diddle with permissions,
so when later adding proc interface, it probably just stayed that way.



 \ /
  Last update: 2011-11-23 18:39    [W:0.054 / U:0.368 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site