* Incorrect permissions on route flush sysctl
@ 2005-04-25 16:01 Dave Jones
2005-04-25 16:16 ` Dave Jones
0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2005-04-25 16:01 UTC (permalink / raw)
To: netdev
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).
Signed-off-by: Dave Jones <davej@redhat.com>
--- linux-2.6.11/net/ipv4/route.c~ 2005-04-25 11:57:45.000000000 -0400
+++ linux-2.6.11/net/ipv4/route.c 2005-04-25 11:58:09.000000000 -0400
@@ -2843,7 +2843,7 @@ ctl_table ipv4_route_table[] = {
.procname = "flush",
.data = &flush_delay,
.maxlen = sizeof(int),
- .mode = 0644,
+ .mode = 0200,
.proc_handler = &ipv4_sysctl_rtcache_flush,
.strategy = &ipv4_sysctl_rtcache_flush_strategy,
},
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Incorrect permissions on route flush sysctl
2005-04-25 16:01 Incorrect permissions on route flush sysctl Dave Jones
@ 2005-04-25 16:16 ` Dave Jones
2005-04-28 19:11 ` David S. Miller
0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2005-04-25 16:16 UTC (permalink / raw)
To: netdev
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>
--- 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
},
{
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Incorrect permissions on route flush sysctl
2005-04-25 16:16 ` Dave Jones
@ 2005-04-28 19:11 ` David S. Miller
0 siblings, 0 replies; 3+ messages in thread
From: David S. Miller @ 2005-04-28 19:11 UTC (permalink / raw)
To: Dave Jones; +Cc: netdev
On Mon, 25 Apr 2005 12:16:46 -0400
Dave Jones <davej@redhat.com> wrote:
> 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>
Both applied, thanks Dave.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-28 19:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-25 16:01 Incorrect permissions on route flush sysctl Dave Jones
2005-04-25 16:16 ` Dave Jones
2005-04-28 19:11 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).