fs: Rename file_remove_suid() to file_remove_privs()
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>
Showing
- fs/btrfs/file.c 1 addition, 1 deletionfs/btrfs/file.c
- fs/ceph/file.c 1 addition, 1 deletionfs/ceph/file.c
- fs/fuse/file.c 1 addition, 1 deletionfs/fuse/file.c
- fs/inode.c 8 additions, 5 deletionsfs/inode.c
- fs/ntfs/file.c 1 addition, 1 deletionfs/ntfs/file.c
- fs/xfs/xfs_file.c 1 addition, 1 deletionfs/xfs/xfs_file.c
- include/linux/fs.h 1 addition, 1 deletioninclude/linux/fs.h
- mm/filemap.c 1 addition, 1 deletionmm/filemap.c
Please register or sign in to comment