]> asedeno.scripts.mit.edu Git - linux.git/commit
audit: allow not equal op for audit by executable
authorOndrej Mosnáček <omosnace@redhat.com>
Mon, 9 Apr 2018 08:00:06 +0000 (10:00 +0200)
committerPaul Moore <paul@paul-moore.com>
Tue, 24 Apr 2018 15:18:10 +0000 (11:18 -0400)
commit23bcc480dac204c7dbdf49d96b2c918ed98223c2
treed2e2fa1b394911fc278384b647a914ab506feca8
parentd96f92f4aae1132482ce0a584c4bc3ce32c796ea
audit: allow not equal op for audit by executable

Current implementation of auditing by executable name only implements
the 'equal' operator. This patch extends it to also support the 'not
equal' operator.

See: https://github.com/linux-audit/audit-kernel/issues/53

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Reviewed-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/auditfilter.c
kernel/auditsc.c