lkml.org 
[lkml]   [2019]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2 0/5] pid: add pidfd_open()
    On Sat, Mar 30, 2019 at 9:34 AM Daniel Colascione <dancol@google.com> 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

    \
     
     \ /
      Last update: 2019-03-30 18:05    [W:3.438 / U:0.716 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site