]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Audit: make audit=0 actually turn off audit
authorEric Paris <eparis@redhat.com>
Wed, 5 Nov 2008 17:47:09 +0000 (12:47 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Dec 2008 07:27:37 +0000 (02:27 -0500)
commitb1fe6533842d0238ec784e8ae425ff3f4f863398
treed5af821616dd749be416ccbbe3f25f6919ea0af9
parent91db9e3e46810b37e6d6e2befc697d869c27e067
[PATCH] Audit: make audit=0 actually turn off audit

Currently audit=0 on the kernel command line does absolutely nothing.
Audit always loads and always uses its resources such as creating the
kernel netlink socket.  This patch causes audit=0 to actually disable
audit.  Audit will use no resources and starting the userspace auditd
daemon will not cause the kernel audit system to activate.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/audit.c