public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Why is syscall auditing on with no rules?
@ 2014-02-02  2:32 Andy Lutomirski
  2014-02-02  2:51 ` Andy Lutomirski
  2014-02-02 15:05 ` Andi Kleen
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Lutomirski @ 2014-02-02  2:32 UTC (permalink / raw)
  To: Oleg Nesterov, Steve Grubb, Eric Paris, linux-audit,
	linux-kernel@vger.kernel.org

On a stock Fedora installation:

$ sudo auditctl -l
No rules

Nonetheless TIF_SYSCALL_AUDIT is set and the __audit_syscall_entry and
__audit_syscall_exit account for >20% of syscall overhead according to
perf.

This sucks.  Unless I'm missing something, syscall auditing is *off*.

How hard would it be to arrange for TIF_SYSCALL_AUDIT to be cleared
when there are no syscall rules?

(This is extra bad in kernels before 3.13, where the clear call for
TIF_SYSCALL_AUDIT was completely missing.)

--Andy

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

end of thread, other threads:[~2014-02-03 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-02  2:32 Why is syscall auditing on with no rules? Andy Lutomirski
2014-02-02  2:51 ` Andy Lutomirski
2014-02-03 14:49   ` Steve Grubb
2014-02-03 16:44     ` Andy Lutomirski
2014-02-02 15:05 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox