diff options
author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2021-10-16 10:23:51 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-10-19 01:34:37 +0300 |
commit | d9516f346e8b8e9c7dd37976a06a5bde1a871d6f (patch) | |
tree | 0aba70364c97f813187391fb16cc08fae0c151cb /drivers/crypto/ccp | |
parent | 571e5c0efcb29c5dac8cf2949d3eed84ec43056c (diff) | |
download | linux-d9516f346e8b8e9c7dd37976a06a5bde1a871d6f.tar.xz |
audit: return early if the filter rule has a lower priority
It is not necessary for audit_filter_rules() functions to check
audit fileds of the rule with a lower priority, and if we did,
there might be some unintended effects, such as the ctx->ppid
may be changed unexpectedly, so return early if the rule has
a lower priority.
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
[PM: slight tweak to the subject line]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'drivers/crypto/ccp')
0 files changed, 0 insertions, 0 deletions