diff options
author | Roberto Sassu <[email protected]> | 2024-02-15 11:31:03 +0100 |
---|---|---|
committer | Paul Moore <[email protected]> | 2024-02-15 23:43:44 -0500 |
commit | a7811e34d100acf24870eb949c5ae3e49dde18b9 (patch) | |
tree | fa9839a50b4601873ea5bb9fdb357202c3793894 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 08abce60d63fb55f440c393f4508e99064f2fd91 (diff) |
security: Introduce inode_post_create_tmpfile hook
In preparation for moving IMA and EVM to the LSM infrastructure, introduce
the inode_post_create_tmpfile hook.
As temp files can be made persistent, treat new temp files like other new
files, so that the file hash is calculated and stored in the security
xattr.
LSMs could also take some action after temp files have been created.
The new hook cannot return an error and cannot cause the operation to be
canceled.
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