security: Align inode_setattr hook definition with EVM
authorRoberto Sassu <roberto.sassu@huawei.com>
Thu, 15 Feb 2024 10:30:57 +0000 (11:30 +0100)
committerPaul Moore <paul@paul-moore.com>
Fri, 16 Feb 2024 04:43:41 +0000 (23:43 -0500)
commit314a8dc728d038378795236f6b5199265f921f45
treeccdc9413d326cb6790a53273182101171a7d8038
parent779cb1947e270504c66a96fc0b7e6e31c748b1e1
security: Align inode_setattr hook definition with EVM

Add the idmap parameter to the definition, so that evm_inode_setattr() can
be registered as this hook implementation.

Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/linux/lsm_hook_defs.h
security/security.c
security/selinux/hooks.c
security/smack/smack_lsm.c