Re: [PATCH -V18 04/13] vfs: Allow handle based open on symlinks

Neil Brown
2010-08-20T23:48:18Z

On Fri, 20 Aug 2010 15:25:29 +0200
Peter Dijkstra <peter@infradead.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@gmx.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