[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <273781508.1737621237483080376.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
Date: Thu, 19 Mar 2009 13:18:00 -0400 (EDT)
From: Miloslav Trmac <mitr@...hat.com>
To: viro <viro@...iv.linux.org.uk>, Eric Paris <eparis@...hat.com>
Cc: linux-audit <linux-audit@...hat.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Steve Grubb <sgrubb@...hat.com>
Subject: [PATCH] Add SELinux context and TTY name to AUDIT_TTY records
From: Miloslav Trmač <mitr@...hat.com>
Add SELinux context information and TTY name (consistent with the
AUDIT_SYSCALL record) to AUDIT_TTY. An example record after applying
this patch:
type=TTY msg=audit(1237480806.220:22): tty pid=2601 uid=0 auid=500 ses=1
subj=unconfined_u:unconfined_r:unconfined_t:s0 major=136 minor=1 tty=pts1
comm="bash" data=6361740D
(line wrapped, new fields are "subj" and "tty".)
Signed-off-by: Miloslav Trmač <mitr@...hat.com>
---
drivers/char/tty_audit.c | 57 ++++++++++++++++++++++++-------------
1 file changed, 38 insertions(+), 19 deletions(-)
Download attachment "audit-tty-more-fields.patch" of type "application/octet-stream" (4652 bytes)
Powered by blists - more mailing lists