[IPV6]: Incorrect permissions on route flush sysctl
Changes
1 files changed · +1 −1
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| net/ipv6/route.c | modified | +1 | −1 | View file |
net/ipv6/route.c
View filediff --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
},
{