mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 16:46:23 +08:00
[IPV4]: Incorrect permissions on route flush sysctl
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> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4eb701dfc6
commit
7e3e0360b7
@ -2843,7 +2843,7 @@ ctl_table ipv4_route_table[] = {
|
|||||||
.procname = "flush",
|
.procname = "flush",
|
||||||
.data = &flush_delay,
|
.data = &flush_delay,
|
||||||
.maxlen = sizeof(int),
|
.maxlen = sizeof(int),
|
||||||
.mode = 0644,
|
.mode = 0200,
|
||||||
.proc_handler = &ipv4_sysctl_rtcache_flush,
|
.proc_handler = &ipv4_sysctl_rtcache_flush,
|
||||||
.strategy = &ipv4_sysctl_rtcache_flush_strategy,
|
.strategy = &ipv4_sysctl_rtcache_flush_strategy,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user