]> git.baikalelectronics.ru Git - kernel.git/commit
fs: Provide function telling whether file_remove_privs() will do anything
authorJan Kara <jack@suse.cz>
Thu, 21 May 2015 14:05:54 +0000 (16:05 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 23 Jun 2015 22:01:09 +0000 (18:01 -0400)
commita0b31d3c4c15bf66cd3a2934223fcab82fc9070f
treebe947840a5adb296619ebd75898740de16ded617
parent25c01d70c8acfb079d97e1deeb98f4a53ffa7065
fs: Provide function telling whether file_remove_privs() will do anything

Provide function telling whether file_remove_privs() will do anything.
Currently we only have should_remove_suid() and that does something
slightly different.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c
include/linux/fs.h