linux/security/integrity/ima
Pingfan Liu fe55ea8593 kernel/kexec: change the prototype of kimage_map_segment()
The kexec segment index will be required to extract the corresponding
information for that segment in kimage_map_segment().  Additionally,
kexec_segment already holds the kexec relocation destination address and
size.  Therefore, the prototype of kimage_map_segment() can be changed.

Link: https://lkml.kernel.org/r/20251216014852.8737-1-piliu@redhat.com
Fixes: 07d2490297 ("kexec: enable CMA based contiguous allocation")
Signed-off-by: Pingfan Liu <piliu@redhat.com>
Acked-by: Baoquan He <bhe@redhat.com>
Cc: Mimi Zohar <zohar@linux.ibm.com>
Cc: Roberto Sassu <roberto.sassu@huawei.com>
Cc: Alexander Graf <graf@amazon.com>
Cc: Steven Chen <chenste@linux.microsoft.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-12-23 11:23:13 -08:00
..
Kconfig ima: make the kexec extra memory configurable 2025-04-29 15:54:54 -04:00
Makefile
ima.h ima: measure kexec load and exec events as critical data 2025-04-29 15:54:54 -04:00
ima_api.c
ima_appraise.c ima: don't clear IMA_DIGSIG flag when setting or removing non-IMA xattr 2025-10-03 07:50:56 -04:00
ima_asymmetric_keys.c
ima_crypto.c
ima_efi.c
ima_fs.c ima,evm: move initcalls to the LSM framework 2025-10-22 19:24:27 -04:00
ima_iint.c
ima_init.c
ima_kexec.c kernel/kexec: change the prototype of kimage_map_segment() 2025-12-23 11:23:13 -08:00
ima_main.c integrity-v6.19 2025-12-03 11:08:03 -08:00
ima_modsig.c
ima_mok.c
ima_policy.c ima: Handle error code returned by ima_filter_rule_match() 2025-11-21 07:24:01 -05:00
ima_queue.c ima: measure kexec load and exec events as critical data 2025-04-29 15:54:54 -04:00
ima_queue_keys.c
ima_template.c
ima_template_lib.c
ima_template_lib.h