Re: [PATCH] procfs: fix tid fdinfo

From: Miklos Szeredi
Date: Sat Apr 24 2010 - 04:30:55 EST


On Sat, 2010-04-24 at 22:27 +0300, Alexey Dobriyan wrote:
> On Fri, Apr 23, 2010 at 11:16:20AM -0700, Andrew Morton wrote:
> > On Fri, 23 Apr 2010 17:40:07 +0200
> > > - DIR("fdinfo", S_IRUSR|S_IXUSR, proc_fdinfo_inode_operations, proc_fd_operations),
> > > + DIR("fdinfo", S_IRUSR|S_IXUSR, proc_fdinfo_inode_operations, proc_fdinfo_operations),
>
> > hm, the code's been like that for over a year. What are the
> > user-visible effects of the bug, and of this change?
>
> /proc/*/task/*/fdinfo contains symlinks to opened files like /proc/*/fd/
> which is cool bug :-)

Yeah, at least now we can see that someone has started using this
interface ;)

Jerome, thanks for spotting this!

Miklos


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