audit: remove the BUG() calls in the audit rule comparison functions
authorPaul Moore <paul@paul-moore.com>
Thu, 30 May 2019 16:53:42 +0000 (12:53 -0400)
committerPaul Moore <paul@paul-moore.com>
Thu, 30 May 2019 16:53:42 +0000 (12:53 -0400)
commit839d05e413856bd686a33b59294d4e8238169320
treedbf4bd3494b443ac7e6907a4aaa503e8d6a7e284
parent0223fad3c98a9588c159a35dda2ef6e68ca27e3f
audit: remove the BUG() calls in the audit rule comparison functions

The audit_data_to_entry() function ensures that the operator is valid
so we can get rid of these BUG() calls.  We keep the "return 0" just
so the system behaves in a sane-ish manner should something go
horribly wrong.

Signed-off-by: Paul Moore <paul@paul-moore.com>
Acked-by: Richard Guy Briggs <rgb@redhat.com>
kernel/auditfilter.c