tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: core statement on fexecve, O_EXEC, and O_SEARCH

On Tue, Dec 04, 2012 at 01:58:13PM +0000, Julian Yon wrote:
 > > The descriptor is probably already "closed on exec" before the syscall
 > > tries to use it.
 > Nope. That happens later. I was looking through this code yesterday as
 > the topic interests me. The namei lookup happens pretty early on. I
 > haven't solved it, but the problem seems to be one of context - if you
 > try to execve /proc/self you'll also get ENOENT instead of the expected

That doesn't make much sense... nor does the procfs_lookup code shed
any significant amount of light on it.

David A. Holland

Home | Main Index | Thread Index | Old Index