diff options
author | Krzysztof Struczynski <krzysztof.struczynski@huawei.com> | 2020-04-27 12:28:58 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2020-05-08 04:54:08 +0200 |
commit | 6ee28442a465ab4c4be45e3b15015af24b1ba906 (patch) | |
tree | ef7efc6a5394fdd975ed2ae5552a8ebfcfe93db4 /usr | |
parent | ima: Fix ima digest hash table key calculation (diff) | |
download | linux-6ee28442a465ab4c4be45e3b15015af24b1ba906.tar.xz linux-6ee28442a465ab4c4be45e3b15015af24b1ba906.zip |
ima: Remove redundant policy rule set in add_rules()
Function ima_appraise_flag() returns the flag to be set in
temp_ima_appraise depending on the hook identifier passed as an argument.
It is not necessary to set the flag again for the POLICY_CHECK hook.
Signed-off-by: Krzysztof Struczynski <krzysztof.struczynski@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions