diff options
author | Roberto Sassu <[email protected]> | 2024-02-15 11:31:02 +0100 |
---|---|---|
committer | Paul Moore <[email protected]> | 2024-02-15 23:43:43 -0500 |
commit | 08abce60d63fb55f440c393f4508e99064f2fd91 (patch) | |
tree | bc903aa7b37fbbb9c9f71a5b705838b18c0b4489 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f09068b5a114ed28d2df2e82a7d30dde0145dc69 (diff) |
security: Introduce path_post_mknod hook
In preparation for moving IMA and EVM to the LSM infrastructure, introduce
the path_post_mknod hook.
IMA-appraisal requires all existing files in policy to have a file
hash/signature stored in security.ima. An exception is made for empty files
created by mknod, by tagging them as new files.
LSMs could also take some action after files are created.
The new hook cannot return an error and cannot cause the operation to be
reverted.
Signed-off-by: Roberto Sassu <[email protected]>
Acked-by: Casey Schaufler <[email protected]>
Reviewed-by: Mimi Zohar <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Reviewed-by: Stefan Berger <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions