lkml.org 
[lkml]   [2008]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: broken ownership of /proc/sys/ files on 2.6.27
On Sun, Nov 16, 2008 at 11:44:11PM +0100, Jiri Slaby wrote:
> On 11/16/2008 11:19 PM, Al Viro wrote:
> > --- a/fs/proc/proc_sysctl.c
> > +++ b/fs/proc/proc_sysctl.c
> > @@ -31,6 +31,7 @@ static struct inode *proc_sys_make_inode(struct super_block *sb,
> > inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME;
> > inode->i_flags |= S_PRIVATE; /* tell selinux to ignore this inode */
>
> And what about this ^, is it OK?

Yes, it is. i_flags is initialized.


\
 
 \ /
  Last update: 2008-11-16 23:59    [W:0.034 / U:11.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site