public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mode of /proc/sys/net/ipv6/icmp
@ 2003-07-28  9:18 Jasper Spaans
  0 siblings, 0 replies; only message in thread
From: Jasper Spaans @ 2003-07-28  9:18 UTC (permalink / raw)
  To: pekkas, yoshfuji, davem; +Cc: linux-kernel

Hello,

Can anybody tell me why /proc/sys/net/ipv6/icmp is mode 0500 instead of the
more logical 0555 ? Is there something to hide from normal users in there?

Diff below fixes this, but I'd like to know the rationale behind this..

Index: net/ipv6/sysctl_net_ipv6.c
===================================================================
RCS file: /home/cvs/linux-2.5/net/ipv6/sysctl_net_ipv6.c,v
retrieving revision 1.7
diff -u -r1.7 sysctl_net_ipv6.c
--- linux-2.5/net/ipv6/sysctl_net_ipv6.c	27 Jun 2003 16:44:43 -0000	1.7
+++ CVS/net/ipv6/sysctl_net_ipv6.c	28 Jul 2003 07:46:51 -0000
@@ -31,7 +31,7 @@
 		.ctl_name	= NET_IPV6_ICMP,
 		.procname	= "icmp",
 		.maxlen		= 0,
-		.mode		= 0500,
+		.mode		= 0555,
 		.child		= ipv6_icmp_table
 	},
 	{


VrGr,
-- 
Jasper Spaans                 http://jsp.vs19.net/contact/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-28  9:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-28  9:18 mode of /proc/sys/net/ipv6/icmp Jasper Spaans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox