]> Pileus Git - ~andy/linux/commitdiff
audit: remove pr_info for every network namespace
authorEric Paris <eparis@redhat.com>
Fri, 17 Jan 2014 22:04:38 +0000 (17:04 -0500)
committerEric Paris <eparis@redhat.com>
Fri, 17 Jan 2014 22:04:38 +0000 (17:04 -0500)
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>
kernel/audit.c

index 2df247dd243223c357ed9f36d6bef92d124b37e7..5dd3dfadab68ea6aab33ebd9cc62c974c63b4349 100644 (file)
@@ -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");