linux/security/integrity/ima
Mimi Zohar b80bed5c87 ima: Instantiate file_truncate and path_truncate hooks
Instantiate the file_truncate and path_truncate LSM hooks to reset the
action cache flags (IMA_DONE_MASK) as soon as truncation is requested,
so the file, based on policy, is re-collected, re-measured, re-audited,
and re-appraised on next access.

Tested-by: Frederick Lawler <fred@cloudflare.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
2026-08-04 12:35:02 -04:00
..
ima_api.c ima: Remove ima_h_table structure 2026-06-08 11:42:40 -04:00
ima_appraise.c ima: fix out-of-bounds read in xattr_verify() 2026-08-04 12:35:02 -04:00
ima_asymmetric_keys.c fs: port xattr to mnt_idmap 2023-01-19 09:24:28 +01:00
ima_crypto.c ima: remove buggy support for asynchronous hashes 2026-03-17 18:53:49 -04:00
ima_efi.c ima: efi: Drop unnecessary check for CONFIG_MODULE_SIG/CONFIG_KEXEC_SIG 2026-03-08 08:26:08 -04:00
ima_fs.c ima: Support staging and deleting N measurements records 2026-06-08 11:43:34 -04:00
ima_iint.c lsm: add the inode_free_security_rcu() LSM implementation hook 2024-08-12 15:35:04 -04:00
ima_init.c ima: Replace static htable queue with dynamically allocated array 2026-06-08 11:42:49 -04:00
ima_kexec.c ima: Add support for staging measurements with prompt 2026-06-08 11:43:21 -04:00
ima_main.c ima: Instantiate file_truncate and path_truncate hooks 2026-08-04 12:35:02 -04:00
ima_modsig.c module: Give MODULE_SIG_STRING a more descriptive name 2026-03-24 21:42:37 +00:00
ima_mok.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ima_policy.c ima: Fix sigv3 signature handling for EVM_IMA_XATTR_DIGSIG 2026-04-27 07:24:07 -04:00
ima_queue_keys.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ima_queue.c ima: Support staging and deleting N measurements records 2026-06-08 11:43:34 -04:00
ima_template_lib.c ima: fix buffer overrun in ima_eventdigest_init_common 2024-10-09 22:49:24 -04:00
ima_template_lib.h ima: define a new template field named 'd-ngv2' and templates 2022-05-05 11:49:13 -04:00
ima_template.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ima.h ima: Support staging and deleting N measurements records 2026-06-08 11:43:34 -04:00
Kconfig ima: Support staging and deleting N measurements records 2026-06-08 11:43:34 -04:00
Makefile ima: Make it independent from 'integrity' LSM 2024-02-15 23:43:47 -05:00