public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jasper Spaans <jasper@vs19.net>
To: pekkas@netcore.fi, yoshfuji@linux-ipv6.org, davem@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: mode of /proc/sys/net/ipv6/icmp
Date: Mon, 28 Jul 2003 11:18:18 +0200	[thread overview]
Message-ID: <20030728091818.GA8475@spaans.vs19.net> (raw)

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/

                 reply	other threads:[~2003-07-28  9:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030728091818.GA8475@spaans.vs19.net \
    --to=jasper@vs19.net \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pekkas@netcore.fi \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox