]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit424116d28e18e24cfcdf14b00ab470e28e14dfa6
treedbf4bd3494b443ac7e6907a4aaa503e8d6a7e284
parent24c84fedb3fda574c64e0adec91c00d763cbf51d
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