summaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima_template.c
diff options
context:
space:
mode:
authorPrakhar Srivastava2019-06-24 08:23:29 +0200
committerMimi Zohar2019-06-24 14:29:57 +0200
commitb0935123a18360d19f1dcc779ea33841cdc304cc (patch)
treef7f069f94312da4302ad6b1b793d4f6c90eb5bc0 /security/integrity/ima/ima_template.c
parentIMA: support for per policy rule template formats (diff)
downloadkernel-qcow2-linux-b0935123a18360d19f1dcc779ea33841cdc304cc.tar.gz
kernel-qcow2-linux-b0935123a18360d19f1dcc779ea33841cdc304cc.tar.xz
kernel-qcow2-linux-b0935123a18360d19f1dcc779ea33841cdc304cc.zip
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. Signed-off-by: Prakhar Srivastava <prsriva02@gmail.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima_template.c')
0 files changed, 0 insertions, 0 deletions