Skip to content
Snippets Groups Projects
Commit bfb4496e authored by David Woodhouse's avatar David Woodhouse
Browse files

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: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 7b5d781c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment