Repository navigation
Commit 2600136
ima: Remove redundant policy rule set in add_rules()
[ Upstream commit 6ee2844 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 70ce853 commit 2600136
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
593 | | - | |
| 593 | + | |
594 | 594 | | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | 595 | | |
599 | 596 | | |
600 | 597 | | |
| |||
0 commit comments