lkml.org 
[lkml]   [2019]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v10 5/9] ima: make process_buffer_measurement() generic
From
Date
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

\
 
 \ /
  Last update: 2019-10-31 18:03    [W:0.136 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site