]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs: Rename file_remove_suid() to file_remove_privs()
authorJan Kara <jack@suse.cz>
Thu, 21 May 2015 14:05:53 +0000 (16:05 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 29 May 2017 00:51:18 +0000 (17:51 -0700)
commitf52d149a0069ae1290c15bf5c44111008b5b1392
tree29b767401341c9985888dee76a971591341531d6
parentf2192d923db416729f956ed33c41f2356d969bc8
fs: Rename file_remove_suid() to file_remove_privs()

From 5fa8e0a1c6a762857ae67d1628c58b9a02362003 Mon Sep 17 00:00:00 2001

file_remove_suid() is a misnomer since it removes also file capabilities
stored in xattrs and sets S_NOSEC flag. Also should_remove_suid() tells
something else than whether file_remove_suid() call is necessary which
leads to bugs.

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/btrfs/file.c
fs/ceph/file.c
fs/fuse/file.c
fs/inode.c
fs/ntfs/file.c
fs/xfs/xfs_file.c
include/linux/fs.h
mm/filemap.c