netdev
[Top] [All Lists]

Re: Incorrect permissions on route flush sysctl

To: netdev@xxxxxxxxxxx
Subject: Re: Incorrect permissions on route flush sysctl
From: Dave Jones <davej@xxxxxxxxxx>
Date: Mon, 25 Apr 2005 12:16:46 -0400
In-reply-to: <20050425160113.GA22919@xxxxxxxxxx>
References: <20050425160113.GA22919@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
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@xxxxxxxxxx>

--- linux-2.6.11/net/ipv6/route.c~      2005-04-25 12:16:02.000000000 -0400
+++ linux-2.6.11/net/ipv6/route.c       2005-04-25 12:16:08.000000000 -0400
@@ -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
        },
        {

<Prev in Thread] Current Thread [Next in Thread>