Dmitry Kasatkin 7c51bb00c4 evm: fix potential race when removing xattrs
EVM needs to be atomically updated when removing xattrs.
Otherwise concurrent EVM verification may fail in between.
This patch fixes by moving i_mutex unlocking after calling
EVM hook. fsnotify_xattr() is also now called while locked
the same way as it is done in __vfs_setxattr_noperm.

Changelog:
- remove unused 'inode' variable.

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
2015-05-21 13:28:47 -04:00
..
2015-04-21 16:16:02 -04:00
2015-04-26 17:33:59 -07:00
2015-04-11 22:29:40 -04:00
2015-04-11 22:29:39 -04:00
2015-04-17 09:04:07 -04:00
2015-04-17 09:04:12 -04:00
2015-04-24 07:08:41 -07:00