[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cadb8196-6bfb-2832-229f-24f67befdf78@linux.microsoft.com>
Date: Thu, 31 Oct 2019 10:22:12 -0700
From: Lakshmi Ramasubramanian <nramas@...ux.microsoft.com>
To: Mimi Zohar <zohar@...ux.ibm.com>, linuxppc-dev@...abs.org,
linux-efi@...r.kernel.org, linux-integrity@...r.kernel.org
Cc: Nayna Jain <nayna@...ux.ibm.com>, linux-kernel@...r.kernel.org,
Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Jeremy Kerr <jk@...abs.org>,
Eric Ricther <erichte@...ux.ibm.com>,
Oliver O'Halloran <oohall@...il.com>
Subject: Re: [PATCH v10 5/9] ima: make process_buffer_measurement() generic
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
Powered by blists - more mailing lists