diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2024-02-15 11:31:06 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2024-02-16 05:43:45 +0100 |
commit | b8d997032a46fcf47d5bda011c0d1e87b20c08ba (patch) | |
tree | 7d98596e0338a1ae9dac887b611958d62cf25084 /Documentation | |
parent | security: Introduce inode_post_remove_acl hook (diff) | |
download | linux-b8d997032a46fcf47d5bda011c0d1e87b20c08ba.tar.xz linux-b8d997032a46fcf47d5bda011c0d1e87b20c08ba.zip |
security: Introduce key_post_create_or_update hook
In preparation for moving IMA and EVM to the LSM infrastructure, introduce
the key_post_create_or_update hook.
Depending on policy, IMA measures the key content after creation or update,
so that remote verifiers are aware of the operation.
Other LSMs could similarly take some action after successful key creation
or update.
The new hook cannot return an error and cannot cause the operation to be
reverted.
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions