summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2014-01-17 23:04:38 +0100
committerEric Paris <eparis@redhat.com>2014-01-17 23:04:38 +0100
commit4f066328abec7f67518051e0eba67246ef2bfc07 (patch)
treed7ae1c06fef6f52a54ab5f904215e5fda4fdedb1 /kernel
parentaudit: Modify a set of system calls in audit class definitions (diff)
downloadlinux-4f066328abec7f67518051e0eba67246ef2bfc07.tar.xz
linux-4f066328abec7f67518051e0eba67246ef2bfc07.zip
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')
-rw-r--r--kernel/audit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 2df247dd2432..5dd3dfadab68 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");