All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/2] audit: speed up audit syscall entry
@ 2018-02-15  2:47 ` Richard Guy Briggs
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Guy Briggs @ 2018-02-15  2:47 UTC (permalink / raw)
  To: Linux-Audit Mailing List, LKML; +Cc: Richard Guy Briggs

These fixes should speed up audit syscall entry by doing away with the
audit entry filter check, moving up the valid connection check before
filling in the context and not caring if there is a bug when audit is
disabled.

Passes audit-testsuite.
See: https://github.com/linux-audit/audit-kernel/issues/6

v3:
  - squash patch 1 and 2
v2:
  - bail earlier to avoid setting up unneeded state
  - don't bother checking for bug when disabled

Richard Guy Briggs (2):
  audit: deprecate the AUDIT_FILTER_ENTRY filter
  audit: bail before bug check if audit disabled

 kernel/auditfilter.c |  4 ++--
 kernel/auditsc.c     | 22 ++++++++++------------
 2 files changed, 12 insertions(+), 14 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-02-15 19:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-15  2:47 [PATCH V3 0/2] audit: speed up audit syscall entry Richard Guy Briggs
2018-02-15  2:47 ` Richard Guy Briggs
2018-02-15  2:47 ` [PATCH V3 1/2] audit: deprecate the AUDIT_FILTER_ENTRY filter Richard Guy Briggs
2018-02-15  2:47   ` Richard Guy Briggs
2018-02-15  2:47 ` [PATCH V3 2/2] audit: bail before bug check if audit disabled Richard Guy Briggs
2018-02-15 19:50 ` [PATCH V3 0/2] audit: speed up audit syscall entry Paul Moore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.