aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorMimi Zohar <[email protected]>2013-04-14 09:21:47 -0400
committerMimi Zohar <[email protected]>2013-06-20 07:47:49 -0400
commit37ec43cdc4c776bd39aae469fdfa494bdf0344c7 (patch)
tree589b7010500c1a159ef25a6d4ce71d91c5ab765e /lib/mpi/mpi-bit.c
parent8912176ce04368d3a0699860c5a0cc64c49a1eba (diff)
evm: calculate HMAC after initializing posix acl on tmpfs
Included in the EVM hmac calculation is the i_mode. Any changes to the i_mode need to be reflected in the hmac. shmem_mknod() currently calls generic_acl_init(), which modifies the i_mode, after calling security_inode_init_security(). This patch reverses the order in which they are called. Reported-by: Sven Vermeulen <[email protected]> Signed-off-by: Mimi Zohar <[email protected]> Acked-by: Hugh Dickins <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions