lkml.org 
[lkml]   [2008]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 05/24] sysfs: dont call notify_change
On Tue, May 06, 2008 at 11:13:32AM +0200, Miklos Szeredi wrote:
> From: Miklos Szeredi <mszeredi@suse.cz>
>
> sysfs_chmod_file() calls notify_change() to change the permission bits
> on a sysfs file. Replace with explicit call to sysfs_setattr() and
> fsnotify_change().
>
> This is equivalent, except that security_inode_setattr() is not
> called. This function is called by drivers, so the security checks do
> not make any sense.

Looks correct to me, although I really don't see the point for it.



\
 
 \ /
  Last update: 2008-05-08 18:53    [W:0.034 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site