mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
ipv4: mode 0555 in ipv4_skeleton
vpnc on today's kernel says Cannot open "/proc/sys/net/ipv4/route/flush": d--------- 0 root root 0 2008-08-26 11:32 /proc/sys/net/ipv4/route d--------- 0 root root 0 2008-08-26 19:16 /proc/sys/net/ipv4/neigh Signed-off-by: Hugh Dickins <hugh@veritas.com> Acked-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7982d5e1b3
commit
d994af0d50
@ -3121,9 +3121,9 @@ static struct ctl_table empty[1];
|
||||
static struct ctl_table ipv4_skeleton[] =
|
||||
{
|
||||
{ .procname = "route", .ctl_name = NET_IPV4_ROUTE,
|
||||
.child = ipv4_route_table},
|
||||
.mode = 0555, .child = ipv4_route_table},
|
||||
{ .procname = "neigh", .ctl_name = NET_IPV4_NEIGH,
|
||||
.child = empty},
|
||||
.mode = 0555, .child = empty},
|
||||
{ }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user