Re: [patch 06/15] sysfs: dont call notify_change

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Monday, May 5, 2008 - 11:28 pm

> > sysfs_chmod_file() calls notify_change() to change the permission bits

Right, but that's not sysfs_chmod_file() but sys_chmod(), which calls
notify_change(), which calls security_inode_setattr().

sysfs_chmod_file() is just called by a couple of drivers to change the
file mode during operation, it's never called by user action directly.

Miklos
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 06/15] sysfs: dont call notify_change, Miklos Szeredi, (Mon May 5, 2:54 am)
Re: [patch 06/15] sysfs: dont call notify_change, Miklos Szeredi, (Mon May 5, 11:28 pm)
Re: [patch 06/15] sysfs: dont call notify_change, Greg KH, (Mon May 5, 11:48 pm)