Thread (44 messages) 44 messages, 8 authors, 2022-10-21

Re: [PATCH 3/9] ima: Move xattr hooks into LSM

From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2022-10-19 13:37:52
Also in: linux-hardening, linux-integrity, lkml

On Tue, 2022-10-18 at 17:07 +0200, Christian Brauner wrote:
On Thu, Oct 13, 2022 at 03:36:48PM -0700, Kees Cook wrote:
quoted
Move the xattr IMA hooks into normal LSM layer. As with SELinux and
Smack, handle calling cap_inode_setxattr() internally.

Cc: Mimi Zohar <zohar@linux.ibm.com>
Cc: Dmitry Kasatkin <dmitry.kasatkin@gmail.com>
Cc: Paul Moore <paul@paul-moore.com>
Cc: James Morris <jmorris@namei.org>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Cc: Borislav Petkov <redacted>
Cc: Jonathan McDowell <redacted>
Cc: Takashi Iwai <redacted>
Cc: Petr Vorel <pvorel@suse.cz>
Cc: linux-integrity@vger.kernel.org
Cc: linux-security-module@vger.kernel.org
Signed-off-by: Kees Cook <redacted>
---
I like that changes obviously but in general, does IMA depend on being
called _after_ all other LSMs or is this just a historical artifact?
Calculating the EVM HMAC must be last, after the other security xattrs
have been updated.

-- 
thanks,

Mimi

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help