* [PATCH] ipv4: mode 0555 in ipv4_skeleton
@ 2008-08-26 19:00 Hugh Dickins
2008-08-26 19:06 ` Al Viro
0 siblings, 1 reply; 3+ messages in thread
From: Hugh Dickins @ 2008-08-26 19:00 UTC (permalink / raw)
To: Al Viro; +Cc: David Miller, linux-kernel, netdev
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>
---
net/ipv4/route.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- 2.6.27-rc4-git/net/ipv4/route.c 2008-08-26 10:08:51.000000000 +0100
+++ linux/net/ipv4/route.c 2008-08-26 19:35:40.000000000 +0100
@@ -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},
{ }
};
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ipv4: mode 0555 in ipv4_skeleton
2008-08-26 19:00 [PATCH] ipv4: mode 0555 in ipv4_skeleton Hugh Dickins
@ 2008-08-26 19:06 ` Al Viro
2008-08-27 9:35 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Al Viro @ 2008-08-26 19:06 UTC (permalink / raw)
To: Hugh Dickins; +Cc: David Miller, linux-kernel, netdev
On Tue, Aug 26, 2008 at 08:00:03PM +0100, Hugh Dickins wrote:
> 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ipv4: mode 0555 in ipv4_skeleton
2008-08-26 19:06 ` Al Viro
@ 2008-08-27 9:35 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2008-08-27 9:35 UTC (permalink / raw)
To: viro; +Cc: hugh, linux-kernel, netdev
From: Al Viro <viro@ZenIV.linux.org.uk>
Date: Tue, 26 Aug 2008 20:06:39 +0100
> On Tue, Aug 26, 2008 at 08:00:03PM +0100, Hugh Dickins wrote:
> > 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>
Applied, thanks everyone.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-27 9:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-26 19:00 [PATCH] ipv4: mode 0555 in ipv4_skeleton Hugh Dickins
2008-08-26 19:06 ` Al Viro
2008-08-27 9:35 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox