Re: [PATCH v2 0/5] pid: add pidfd_open()

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
2019-03-30 17:06:01
Also in
lkml
Reply to
Daniel Colascione, 2019-03-30
On Sat, Mar 30, 2019 at 9:34 AM Daniel Colascione [off-list ref] wrote:
Just to be clear, I'm not proposing granting secret access to procfs,
and as far as I can see, nobody else is either. We've been talking
about making it easier to avoid races when you happen to want a pidfd
and a procfs fd that point to the same process
So I thought that was the whole point of just opening /proc/<pid>.
Exactly because that way you can then use openat() from there on.

                              Linus
Thread (82 messages) 82 messages, 12 authors, last reply 2019-04-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help