]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 29 May 2017 00:52:20 +0000 (17:52 -0700)
commitacafb9ff9a0c7d3cf2bbedbdfdc5ea0fbd95af9e
tree52aa7e1bfef65bc322e2b8f4e77fe7f5aebb926c
parentf52d149a0069ae1290c15bf5c44111008b5b1392
fs: Provide function telling whether file_remove_privs() will do anything

From dbfae0cdcd87602737101d4417811f4323156b54 Mon Sep 17 00:00:00 2001

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>
Orabug: 24803533
Signed-off-by: darrick.wong@oracle.com
fs/inode.c
include/linux/fs.h