lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080828.132935.193700612.davem@davemloft.net>
Date:	Thu, 28 Aug 2008 13:29:35 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	akpm@...ux-foundation.org
Cc:	francois.valenduc@...ablenet.be, bugme-daemon@...zilla.kernel.org,
	netdev@...r.kernel.org, viro@...iv.linux.org.uk
Subject: Re: [Bugme-new] [Bug 11447] New: /proc/sys/net/ipv4/route/flush
 not found

From: Andrew Morton <akpm@...ux-foundation.org>
Date: Thu, 28 Aug 2008 13:18:24 -0700

> 
> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).

Should be fixed in Linus's tree as of an hour ago, it was a
permissions issue:

commit d994af0d50efc96b2077978fe9f066992639d525
Author: Hugh Dickins <hugh@...itas.com>
Date:   Wed Aug 27 02:35:18 2008 -0700

    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@...itas.com>
    Acked-by: Al Viro <viro@...iv.linux.org.uk>
    Signed-off-by: David S. Miller <davem@...emloft.net>

diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index e91bafe..6ee5354 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -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},
 	{ }
 };
 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ