aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <[email protected]>2018-03-15 20:33:42 +0000
committerMimi Zohar <[email protected]>2018-03-25 11:26:30 +0000
commitf5e51fa368fd6612608bc36f39e55cde08ce0039 (patch)
tree756645114becbeb4be95807b492d5c9ce35a82c8 /drivers/pci/controller/pci-host-common.c
parentima: Simplify ima_eventsig_init() (diff)
downloadkernel-f5e51fa368fd6612608bc36f39e55cde08ce0039.tar.gz
kernel-f5e51fa368fd6612608bc36f39e55cde08ce0039.zip
ima: Improvements in ima_appraise_measurement()
Replace nested ifs in the EVM xattr verification logic with a switch statement, making the code easier to understand. Also, add comments to the if statements in the out section and constify the cause variable. Signed-off-by: Mimi Zohar <[email protected]> Signed-off-by: Thiago Jung Bauermann <[email protected]> Acked-by: Serge Hallyn <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions