Re: [PATCH 2/4] evm: reset status in evm_inode_post_setattr()

2019-05-20 Thread Mimi Zohar
On Thu, 2019-05-16 at 18:12 +0200, Roberto Sassu wrote: > This patch adds a call to evm_reset_status() in evm_inode_post_setattr(), > before security.evm is updated. The same is done in the other > evm_inode_post_* functions. > > Fixes: 523b74b16bcbb ("evm: reset EVM status when file attributes ch

[PATCH 2/4] evm: reset status in evm_inode_post_setattr()

2019-05-16 Thread Roberto Sassu
This patch adds a call to evm_reset_status() in evm_inode_post_setattr(), before security.evm is updated. The same is done in the other evm_inode_post_* functions. Fixes: 523b74b16bcbb ("evm: reset EVM status when file attributes change") Signed-off-by: Roberto Sassu Cc: sta...@vger.kernel.org --