AUDIT: Reduce contention in audit_serial()
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>
Mon, 18 Jul 2005 18:24:46 +0000 (14:24 -0400)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Mon, 18 Jul 2005 18:24:46 +0000 (14:24 -0400)
commitce625a801664d8ed7344117bbb57510e4e0e872c
tree50e6760a0b1b506b234700afddc7296b28918650
parentd5b454f2c40c9efd0cc113bc3220ebcb66b7c022
AUDIT: Reduce contention in audit_serial()
... by generating serial numbers only if an audit context is actually
_used_, rather than doing so at syscall entry even when the context
isn't necessarily marked auditable.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
kernel/audit.c
kernel/auditsc.c