Files
android_kernel_fxtec_sm6115/security
Prakhar Srivastava 1260e2ddd7 UPSTREAM: IMA: Define a new hook to measure the kexec boot command line arguments
Currently during soft reboot(kexec_file_load) boot command line
arguments are not measured. Define hooks needed to measure kexec
command line arguments during soft reboot(kexec_file_load).

- A new ima hook ima_kexec_cmdline is defined to be called by the
kexec code.
- A new function process_buffer_measurement is defined to measure
the buffer hash into the IMA measurement list.
- A new func policy KEXEC_CMDLINE is defined to control the
 measurement.

Change-Id: I5dda0f965af182d010217874c8fb2b339072cafe
Signed-off-by: Prakhar Srivastava <prsriva02@gmail.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
2026-05-31 11:15:44 +01:00
..
2026-03-20 13:38:03 -04:00