]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfa99e03b730a9cdeb5c1f84785ba60d91b994b88
treec66a1c3be846e34f1aac5db640b7ccb8770e8a80
parentb55489a3934f990c1bc835de640b5cb8a754ca07
[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