Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)
From: Al Viro <viro@ZenIV.linux.org.uk>
Date: 2015-01-09 23:36:55
Also in:
linux-arch, lkml, sparclinux
From: Al Viro <viro@ZenIV.linux.org.uk>
Date: 2015-01-09 23:36:55
Also in:
linux-arch, lkml, sparclinux
On Fri, Jan 09, 2015 at 06:12:48PM -0500, Rich Felker wrote:
I'm not sure where you're disagreeing with me. open of procfs symlinks does not resolve the symlink and open the resulting pathname. They are "magic symlinks" which are bound to the inode of the open file. I don't see why this action, which is already special for magic symlinks, can't check a flag on the magic symlink and possibly close the corresponding file descriptor as part of its action.
_What_ action? ->follow_link()? As in "the same thing that e.g. stat(2) would trigger"?