Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ima: Don't remove security.ima if file must not be appraised
[ Upstream commit ed1b472 ] Files might come from a remote source and might have xattrs, including security.ima. It should not be IMA task to decide whether security.ima should be kept or not. This patch removes the removexattr() system call in ima_inode_post_setattr(). Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information