commit | 5fa8e0a1c6a762857ae67d1628c58b9a02362003 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu May 21 16:05:53 2015 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jun 23 18:01:08 2015 -0400 |
tree | 53072ae36f38d4b3c1c56defff4b98acb274c077 | |
parent | 2426f3910069ed47c0cc58559a6d088af7920201 [diff] |
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>