diff options
author | 2018-10-09 23:00:35 +0530 | |
---|---|---|
committer | 2018-12-11 07:13:39 -0500 | |
commit | c52657d93b0530449233979514a08cf9fe5c24bc (patch) | |
tree | a8908f484fa957cca1425c21853652da622c9cdd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ima: prevent kexec_load syscall based on runtime secureboot flag (diff) | |
download | wireguard-linux-c52657d93b0530449233979514a08cf9fe5c24bc.tar.xz wireguard-linux-c52657d93b0530449233979514a08cf9fe5c24bc.zip |
ima: refactor ima_init_policy()
This patch removes the code duplication in ima_init_policy() by defining
a new function named add_rules(). The new function adds the rules to the
initial IMA policy, the custom policy or both based on the policy mask
(IMA_DEFAULT_POLICY, IMA_CUSTOM_POLICY).
Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions