[PATCH] audit inode patch
authorSteve Grubb <sgrubb@redhat.com>
Mon, 3 Apr 2006 18:06:13 +0000 (14:06 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 1 May 2006 10:09:53 +0000 (06:09 -0400)
commit1b50eed9cac0e8e5e4d3a522d8aa267f7f8f8acb
treec66a1c3be846e34f1aac5db640b7ccb8770e8a80
parent3dc7e3153eddfcf7ba8b50628775ba516e5f759f
[PATCH] audit inode patch

Previously, we were gathering the context instead of the sid. Now in this patch,
we gather just the sid and convert to context only if an audit event is being
output.

This patch brings the performance hit from 146% down to 23%

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/selinux.h
kernel/auditsc.c
security/selinux/exports.c