diff options
| author | Jan Kara <[email protected]> | 2015-05-21 14:05:56 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2015-06-23 22:01:10 +0000 |
| commit | a6de82cab123beaf9406024943caa0242f0618b0 (patch) | |
| tree | 747d73350fb02ca51306530630766dd28b8d0548 /tools/perf/scripts/python/netdev-times.py | |
| parent | fs: Call security_ops->inode_killpriv on truncate (diff) | |
| download | kernel-a6de82cab123beaf9406024943caa0242f0618b0.tar.gz kernel-a6de82cab123beaf9406024943caa0242f0618b0.zip | |
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 <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
