[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AF02AB8.9030004@lightwave.net.ru>
Date: Tue, 03 Nov 2009 16:06:00 +0300
From: Dan Yefimov <dan@...htwave.net.ru>
To: mrex@....com
Cc: Gabor Gombas <gombasg@...aki.hu>, pavel@....cz, jim@...n.com,
marco@....nl, bugtraq@...urityfocus.com
Subject: Re: /proc filesystem allows bypassing directory permissions on
On 03.11.2009 2:33, Martin Rex wrote:
> Doing it for a socket might be a bad idea -- and usually impossible,
> one cannot undo the shutdown(SHUT_WR) of a socket...
>
Nobody will ever need that, since sockets are bidirectional and their file
descriptors are in fact both readable and writable. But changing access mode of
regular and special files, directories and even pipes file descriptors is in
fact possible and could be accomplished rather easily by checking the
corresponding inode (this is true at least for Linux).
--
Sincerely Your, Dan.
Powered by blists - more mailing lists