aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@linux.vnet.ibm.com>2018-03-15 17:33:42 -0300
committerMimi Zohar <zohar@linux.vnet.ibm.com>2018-03-25 07:26:30 -0400
commitf5e51fa368fd6612608bc36f39e55cde08ce0039 (patch)
tree756645114becbeb4be95807b492d5c9ce35a82c8 /scripts/bpf_helpers_doc.py
parentima: Simplify ima_eventsig_init() (diff)
downloadwireguard-linux-f5e51fa368fd6612608bc36f39e55cde08ce0039.tar.xz
wireguard-linux-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 <zohar@linux.vnet.ibm.com> Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> Acked-by: Serge Hallyn <serge@hallyn.com>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions