diff options
author | Gaosheng Cui <[email protected]> | 2021-10-16 15:23:51 +0800 |
---|---|---|
committer | Paul Moore <[email protected]> | 2021-10-18 18:34:37 -0400 |
commit | d9516f346e8b8e9c7dd37976a06a5bde1a871d6f (patch) | |
tree | 0aba70364c97f813187391fb16cc08fae0c151cb /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 571e5c0efcb29c5dac8cf2949d3eed84ec43056c (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 <[email protected]>
[PM: slight tweak to the subject line]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions