On 10/30/19 8:31 PM, Mimi Zohar wrote:
 void ima_kexec_cmdline(const void *buf, int size)
 {
-ÂÂÂ u32 secid;
-
-ÂÂÂ if (buf && size != 0) {
-ÂÂÂÂÂÂÂ security_task_getsecid(current, &secid);
+ÂÂÂ if (buf && size != 0)
Open brace { is missing in the above if statement.
ÂÂÂÂÂÂÂÂÂ process_buffer_measurement(buf, size, "kexec-cmdline",
-ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ current_cred(), secid);
-ÂÂÂ }
+ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ KEXEC_CMDLINE, 0);
 }
Â-lakshmi