diff options
author | Nayna Jain <nayna@linux.ibm.com> | 2018-10-09 23:00:35 +0530 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2018-12-11 07:13:39 -0500 |
commit | c52657d93b0530449233979514a08cf9fe5c24bc (patch) | |
tree | a8908f484fa957cca1425c21853652da622c9cdd /CREDITS | |
parent | b5ca117365d960fe5e4fe272bcc8142c28769383 (diff) | |
download | linux-c52657d93b0530449233979514a08cf9fe5c24bc.tar.bz2 |
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 'CREDITS')
0 files changed, 0 insertions, 0 deletions