From: Dave Jones Date: Thu, 28 Apr 2005 19:11:49 +0000 (-0700) Subject: [IPV6]: Incorrect permissions on route flush sysctl X-Git-Tag: MMI-PSA29.97-13-9~57438 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=89c8b3a11086a2a43ac4240116da77b707f37fbf;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 Signed-off-by: David S. Miller --- diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 183802902c02..3bf8a0254f81 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 }, {