summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/x509_public_key.c
diff options
context:
space:
mode:
authorDmitry Kasatkin <d.kasatkin@samsung.com>2014-11-20 14:31:01 (GMT)
committerMimi Zohar <zohar@linux.vnet.ibm.com>2015-05-21 17:28:47 (GMT)
commit7c51bb00c40e5608fb2cdac5230f51aeb56a28df (patch)
treeea228d622a60f43812b50ce7e27b2abbb466f04b /crypto/asymmetric_keys/x509_public_key.c
parent5101a1850bb7ccbf107929dee9af0cd2f400940f (diff)
downloadlinux-7c51bb00c40e5608fb2cdac5230f51aeb56a28df.tar.xz
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>
Diffstat (limited to 'crypto/asymmetric_keys/x509_public_key.c')
0 files changed, 0 insertions, 0 deletions