[AUDIT] add session id to audit messages
authorEric Paris <eparis@redhat.com>
Tue, 8 Jan 2008 15:06:53 +0000 (10:06 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Feb 2008 19:06:51 +0000 (14:06 -0500)
commit4746ec5b01ed07205a91e4f7ed9de9d70f371407
tree7a3a836b6178ccab24801e90b69c1159b2c23099
parentc2a7780efe37d01bdb3facc85a94663e6d67d4a8
[AUDIT] add session id to audit messages

In order to correlate audit records to an individual login add a session
id.  This is incremented every time a user logs in and is included in
almost all messages which currently output the auid.  The field is
labeled ses=  or oses=

Signed-off-by: Eric Paris <eparis@redhat.com>
drivers/char/tty_audit.c
include/linux/audit.h
include/linux/init_task.h
include/linux/sched.h
kernel/auditsc.c
net/core/dev.c
security/selinux/selinuxfs.c
security/selinux/ss/services.c