Re: [PATCH v3 2/3] Revert "integrity: double check iint_cache was initialized"
From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2023-03-09 13:21:18
Also in:
bpf, linux-integrity, lkml
From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2023-03-09 13:21:18
Also in:
bpf, linux-integrity, lkml
On Thu, 2023-03-09 at 09:54 +0100, Roberto Sassu wrote:
From: Roberto Sassu <roberto.sassu@huawei.com> With the recent introduction of LSM_ORDER_LAST, the 'integrity' LSM is always initialized and the iint_cache is always created (the kernel panics on error). Thus, the additional check of iint_cache in integrity_inode_get() is no longer necessary. This reverts commit 92063f3ca73aab794bd5408d3361fd5b5ea33079. Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>