Skip to contentSkip to conversation

audit: remove pr_info for every network namespace

PATCH New Eric Paris 1 participant 1 message Jan 17, 2014 Audit

lore
Share & tools
lore

Eric Paris

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 kernel/audit.c | 2 --
 1 file changed, 2 deletions(-)
kernel/audit.c +0 -2
index 2df247d..5dd3dfa 100644
@@ -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");
Signature · 1 line
1.8.4.2