From mboxrd@z Thu Jan 1 00:00:00 1970 From: Denys Vlasenko Subject: Re: [PATCH] Make /proc/net a symlink on /proc/self/net Date: Sun, 23 Mar 2008 14:04:03 +0100 Message-ID: <200803231404.03787.vda.linux@googlemail.com> References: <47CE8FF7.7000701@openvz.org> <200803231400.41397.vda.linux@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Andrew Morton , David Miller , Linux Netdev List , Linux Kernel Mailing List , "Eric W. Biederman" , Alexey Dobriyan To: Pavel Emelyanov Return-path: Received: from fg-out-1718.google.com ([72.14.220.159]:46497 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755684AbYCWNFc (ORCPT ); Sun, 23 Mar 2008 09:05:32 -0400 Received: by fg-out-1718.google.com with SMTP id l27so2439822fgb.17 for ; Sun, 23 Mar 2008 06:05:31 -0700 (PDT) In-Reply-To: <200803231400.41397.vda.linux@googlemail.com> Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: On Sunday 23 March 2008 14:00, Denys Vlasenko wrote: > > The proposed fix is to turn /proc/net into a symlink, which points > > to /proc/self/net, which in turn shows what previously was in > > /proc/net - the network-related info, from the net namespace the > > appropriate task lives in. > > > > # ls -l /proc/net > > lrwxrwxrwx 1 root root 8 Mar 5 15:17 /proc/net -> self/net > > This broke tools which read /proc/net/dev. Under non-root, > they are no longer working. This is a regression. I see that this is already reported & fix is in queue. Sorry for the noise. -- vda