summaryrefslogtreecommitdiffstats
path: root/security/integrity/evm/evm_main.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@linux.ibm.com>2019-06-28 01:25:46 +0200
committerMimi Zohar <zohar@linux.ibm.com>2019-06-30 23:54:40 +0200
commit337619eb44ef663d329c5c19efd18488ce7de492 (patch)
treef23aedac341cfda9051417c06e8bca159c975f03 /security/integrity/evm/evm_main.c
parentKEXEC: Call ima_kexec_cmdline to measure the boot command line args (diff)
downloadlinux-337619eb44ef663d329c5c19efd18488ce7de492.tar.xz
linux-337619eb44ef663d329c5c19efd18488ce7de492.zip
ima: Update MAX_TEMPLATE_NAME_LEN to fit largest reasonable definition
MAX_TEMPLATE_NAME_LEN is used when restoring measurements carried over from a kexec. It should be set to the length of a template containing all fields except for 'd' and 'n', which don't need to be accounted for since they shouldn't be defined in the same template description as 'd-ng' and 'n-ng'. That length is greater than the current 15, so update using a sizeof() to show where the number comes from and also can be visually shown to be correct. The sizeof() is calculated at compile time. Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'security/integrity/evm/evm_main.c')
0 files changed, 0 insertions, 0 deletions