Files
linux/fs
Jan Kara a6de82cab1 xfs: Correctly lock inode when removing suid and file capabilities
Currently XFS calls file_remove_privs() without holding i_mutex. This is
wrong because that function can end up messing with file permissions and
file capabilities stored in xattrs for which we need i_mutex held.

Fix the problem by grabbing iolock exclusively when we will need to
change anything in permissions / xattrs.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2015-06-23 18:01:10 -04:00
..
2015-05-11 08:13:13 -04:00
2015-05-10 22:18:21 -04:00
2015-05-10 22:18:22 -04:00
2015-06-23 18:00:05 -04:00
2015-05-10 22:18:26 -04:00
2015-05-11 08:13:13 -04:00
2015-04-21 16:16:02 -04:00
2015-06-23 18:01:07 -04:00
2015-04-11 22:29:40 -04:00
2015-05-10 22:18:26 -04:00
2014-11-19 13:01:20 -05:00
2015-06-23 18:00:05 -04:00
2015-06-23 18:00:05 -04:00
2015-04-17 09:04:07 -04:00
2015-05-11 08:13:13 -04:00
2015-04-17 09:04:12 -04:00
2015-05-11 08:13:14 -04:00
2015-05-11 08:13:14 -04:00
2015-06-23 18:01:07 -04:00
2014-08-26 09:35:56 +02:00
2014-11-19 13:01:26 -05:00