[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)
commita3f07114e3359fb98683069ae397220e8992a24a
treed5af821616dd749be416ccbbe3f25f6919ea0af9
parent218d11a8b071b23b76c484fd5f72a4fe3306801e
[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