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: <20100821094759.24a6dc37@notabene>
Date:	Sat, 21 Aug 2010 09:47:59 +1000
From:	Neil Brown <neilb@...e.de>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	Christoph Hellwig <hch@...radead.org>,
	"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
	viro@...iv.linux.org.uk, adilger@....com, corbet@....net,
	npiggin@...e.de, hooanon05@...oo.co.jp, bfields@...ldses.org,
	miklos@...redi.hu, linux-fsdevel@...r.kernel.org,
	sfrench@...ibm.com, philippe.deniel@....FR,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH -V18 04/13] vfs: Allow handle based open on symlinks

On Fri, 20 Aug 2010 15:25:29 +0200
Peter Dijkstra <peter@...radead.org> wrote:

> On Fri, 2010-08-20 at 19:53 +1000, Neil Brown wrote:
> > With futexes we suddenly get a file descriptor for something we could never
> > get a file descriptor on before and that doesn't seem to be a problem. 
> 
> FWIW
> 
> commit 82af7aca56c67061420d618cc5a30f0fd4106b80
> Author: Eric Sesterhenn <snakebyte@....de>
> Date:   Fri Jan 25 10:40:46 2008 +0100
> 
>     Removal of FUTEX_FD

Interesting - thanks.

OK, adjust my argument to reference signalfd, timerfs and pollfd.

I haven't looked at that code before - "anon_inode_getfd" gives you an fd on
an inode for which 
    (stat.st_mode & S_IFMT) == 0
Cool!  They have no format at all :-)

NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ