summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2014-01-17 17:04:38 -0500
committerEric Paris <eparis@redhat.com>2014-01-17 17:04:38 -0500
commit4f066328abec7f67518051e0eba67246ef2bfc07 (patch)
treed7ae1c06fef6f52a54ab5f904215e5fda4fdedb1 /kernel/audit.c
parent262fd3aad61100cb4f281efa292374817c25a479 (diff)
downloadop-kernel-dev-4f066328abec7f67518051e0eba67246ef2bfc07.zip
op-kernel-dev-4f066328abec7f67518051e0eba67246ef2bfc07.tar.gz
audit: remove pr_info for every network namespace
A message about creating the audit socket might be fine at startup, but a pr_info for every single network namespace created on a system isn't useful. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 2df247d..5dd3dfa 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -1068,8 +1068,6 @@ static int __net_init audit_net_init(struct net *net)
struct audit_net *aunet = net_generic(net, audit_net_id);
- pr_info("initializing netlink socket in namespace\n");
-
aunet->nlsk = netlink_kernel_create(net, NETLINK_AUDIT, &cfg);
if (aunet->nlsk == NULL) {
audit_panic("cannot initialize netlink socket in namespace");
OpenPOWER on IntegriCloud