summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2021-10-16 15:23:51 +0800
committerPaul Moore <paul@paul-moore.com>2021-10-18 18:34:37 -0400
commitd9516f346e8b8e9c7dd37976a06a5bde1a871d6f (patch)
tree0aba70364c97f813187391fb16cc08fae0c151cb /security
parent571e5c0efcb29c5dac8cf2949d3eed84ec43056c (diff)
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 'security')
0 files changed, 0 insertions, 0 deletions