commit | ed1b472fc15aeaa20ddeeb93fd25190014e50d17 | [log] [tgz] |
---|---|---|
author | Roberto Sassu <roberto.sassu@huawei.com> | Fri May 14 17:27:53 2021 +0200 |
committer | Mimi Zohar <zohar@linux.ibm.com> | Tue Jun 01 12:30:51 2021 -0400 |
tree | 4dfb18c8666e1cb579f8380fa8846e2a25343308 | |
parent | 026d7fc92a9d629630779c999fe49ecae93f9d63 [diff] |
ima: Don't remove security.ima if file must not be appraised 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>