AUDIT: Assign serial number to non-syscall messages
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>
Sat, 21 May 2005 20:08:09 +0000 (21:08 +0100)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Sat, 21 May 2005 20:08:09 +0000 (21:08 +0100)
commitbfb4496e7239c9132d732a65cdcf3d6a7431ad1a
tree72a2068a1008a66db09ad6eebfdeb490f1a33308
parent7b5d781ce1f19fb7382d3d3fb7af48e429bed12d
AUDIT: Assign serial number to non-syscall messages

Move audit_serial() into audit.c and use it to generate serial numbers
on messages even when there is no audit context from syscall auditing.
This allows us to disambiguate audit records when more than one is
generated in the same millisecond.

Based on a patch by Steve Grubb after he observed the problem.

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