[PATCH 1/3] evm: calculate HMAC after initializing posix acl on tmpfs

2013-06-20 Thread Mimi Zohar
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. Repo

Re: [PATCH 1/3] evm: calculate HMAC after initializing posix acl

2013-05-13 Thread Hugh Dickins
On Wed, 24 Apr 2013, Mimi Zohar wrote: > (Reposting with expanded 'cc' list.) > > 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 posix_acl_init(), which modifies the i_mode, after calling

Re: [PATCH 1/3] evm: calculate HMAC after initializing posix acl

2013-04-24 Thread Casey Schaufler
On 4/24/2013 5:10 AM, Mimi Zohar wrote: > (Reposting with expanded 'cc' list.) > > 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 posix_acl_init(), which modifies the i_mode, after calling > securit

[PATCH 1/3] evm: calculate HMAC after initializing posix acl

2013-04-24 Thread Mimi Zohar
(Reposting with expanded 'cc' list.) 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 posix_acl_init(), which modifies the i_mode, after calling security_inode_init_security(). This patch reverses the o