Messages in this thread | | | Subject | Re: [PATCH v10 5/9] ima: make process_buffer_measurement() generic | From | Lakshmi Ramasubramanian <> | Date | Thu, 31 Oct 2019 10:22:12 -0700 |
| |
On 10/31/19 10:02 AM, Lakshmi Ramasubramanian wrote:
> 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.
My mistake - I now see that the braces {} have been removed in the if statement since there is only line body the call to process_buffer_measurement()
-lakshmi
> >> process_buffer_measurement(buf, size, "kexec-cmdline", >> - current_cred(), secid); >> - } >> + KEXEC_CMDLINE, 0); >> } > > -lakshmi
| |