Files
linux/fs/xfs
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
..
2014-07-30 09:12:05 +10:00
2015-02-16 11:49:23 +11:00
2013-05-07 18:45:36 -05:00
2013-08-12 16:53:39 -05:00
2015-02-23 21:24:37 +11:00
2013-08-12 16:56:06 -05:00
2015-02-23 21:22:31 +11:00
2015-02-23 21:22:31 +11:00
2013-05-07 18:45:36 -05:00
2015-02-23 21:24:37 +11:00
2015-02-23 21:24:37 +11:00
2015-03-04 16:06:38 +01:00
2015-02-23 21:22:31 +11:00
2015-01-09 10:47:43 +11:00
2014-09-09 11:52:42 +10:00
2013-05-07 18:45:36 -05:00