lkml.org 
[lkml]   [2003]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectmode of /proc/sys/net/ipv6/icmp
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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.021 / U:1.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site