summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2005-04-28 12:11:49 -0700
committerDavid S. Miller <davem@davemloft.net>2005-04-28 12:11:49 -0700
commit89c8b3a11086a2a43ac4240116da77b707f37fbf (patch)
tree6fa7c25204d4af62822ebb1e02694744d897b644 /net
parent7e3e0360b711568fb8ba5973accf51d51e746abc (diff)
downloadop-kernel-dev-89c8b3a11086a2a43ac4240116da77b707f37fbf.zip
op-kernel-dev-89c8b3a11086a2a43ac4240116da77b707f37fbf.tar.gz
[IPV6]: Incorrect permissions on route flush sysctl
On Mon, Apr 25, 2005 at 12:01:13PM -0400, Dave Jones wrote: > This has been brought up before.. http://lkml.org/lkml/2000/1/21/116 > but didnt seem to get resolved. This morning I got someone > file a bugzilla about it breaking sysctl(8). And here's its ipv6 counterpart. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 1838029..3bf8a02 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -2005,7 +2005,7 @@ ctl_table ipv6_route_table[] = {
.procname = "flush",
.data = &flush_delay,
.maxlen = sizeof(int),
- .mode = 0644,
+ .mode = 0200,
.proc_handler = &ipv6_sysctl_rtcache_flush
},
{
OpenPOWER on IntegriCloud