aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorSteve Grubb <sgrubb@redhat.com>2020-01-24 17:29:16 -0500
committerPaul Moore <paul@paul-moore.com>2020-02-10 10:46:35 -0500
commit70b3eeed49e8190d97139806f6fbaf8964306cdb (patch)
treeac2d775ad1528063290e71deb828a76584ded120 /kernel/auditsc.c
parentLinux 5.6-rc1 (diff)
downloadlinux-dev-70b3eeed49e8190d97139806f6fbaf8964306cdb.tar.xz
linux-dev-70b3eeed49e8190d97139806f6fbaf8964306cdb.zip
audit: CONFIG_CHANGE don't log internal bookkeeping as an event
Common Criteria calls out for any action that modifies the audit trail to be recorded. That usually is interpreted to mean insertion or removal of rules. It is not required to log modification of the inode information since the watch is still in effect. Additionally, if the rule is a never rule and the underlying file is one they do not want events for, they get an event for this bookkeeping update against their wishes. Since no device/inode info is logged at insertion and no device/inode information is logged on update, there is nothing meaningful being communicated to the admin by the CONFIG_CHANGE updated_rules event. One can assume that the rule was not "modified" because it is still watching the intended target. If the device or inode cannot be resolved, then audit_panic is called which is sufficient. The correct resolution is to drop logging config_update events since the watch is still in effect but just on another unknown inode. Signed-off-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions