]> 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)
commitfb2273a7ae6ae605c008c13906aba01a4909ee1f
treebe947840a5adb296619ebd75898740de16ded617
parent6b5e9cb52a7f08432a161752bd5d0adb372dbb88
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