New User, Welcome!     Login

Re: /proc filesystem allows bypassing directory permissions on

From: Gabor Gombas <gombasg sztaki hu>
To: Pavel Machek <pavel ucw cz>
Cc: mrex sap com, Jim Paris <jim jtan com>, marco osp nl, dan lightwave net ru, bugtraq securityfocus com
Subject: Re: /proc filesystem allows bypassing directory permissions on
Date: Mon - Nov 02, 2009 12:51 PM


On Mon, Nov 02, 2009 at 08:53:26PM +0100, Pavel Machek wrote:

> > The link count of a files tells you the number of hard links that
> > are persisted within the same filesystem.  It is _NOT_ a promise
> > that there are no other means to access the inode of the file.
> 
> It used to be promise before /proc was mounted.

"mount --bind" behaves like a hard link and it does not increment the link
count.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------




Copyright © 1995-2012 LinuxRocket.net. All rights reserved.

Nearly all of LinuxRocket's features are free. Be kind and donate to the cause!