android_kernel_xiaomi_sm8350/fs/sysfs
Eric W. Biederman e16acb503b sysfs: sysfs_setattr remove unnecessary permission check.
inode_change_ok already clears the SGID bit when necessary
so there is no reason for sysfs_setattr to carry code to do
the same, and it is good to kill the extra copy because when
I moved the code last in certain corner cases the code will
look at the wrong gid.

Acked-by: Serge Hallyn <serue@us.ibm.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11 11:24:54 -08:00
..
bin.c const: mark struct vm_struct_operations 2009-09-27 11:39:25 -07:00
dir.c sysfs: Factor out sysfs_rename from sysfs_rename_dir and sysfs_move_dir 2009-12-11 11:24:54 -08:00
file.c sysfs: In sysfs_chmod_file lazily propagate the mode change. 2009-12-11 11:24:54 -08:00
group.c
inode.c sysfs: sysfs_setattr remove unnecessary permission check. 2009-12-11 11:24:54 -08:00
Kconfig
Makefile
mount.c
symlink.c sysfs: Implement sysfs_getattr & sysfs_permission 2009-12-11 11:24:54 -08:00
sysfs.h sysfs: Factor out sysfs_rename from sysfs_rename_dir and sysfs_move_dir 2009-12-11 11:24:54 -08:00