Re: [PATCH v2 0/4] Support non-blocking pidfds

2020-09-04 Thread Christian Brauner
On Thu, Sep 03, 2020 at 04:58:55PM -0700, Josh Triplett wrote: > On Wed, Sep 02, 2020 at 12:21:26PM +0200, Christian Brauner wrote: > > Hi, > > > > Passing a non-blocking pidfd to waitid() currently has no effect, i.e. > > is not supported. There are users which would like to use waitid() on > >

Re: [PATCH v2 0/4] Support non-blocking pidfds

2020-09-03 Thread Josh Triplett
On Wed, Sep 02, 2020 at 12:21:26PM +0200, Christian Brauner wrote: > Hi, > > Passing a non-blocking pidfd to waitid() currently has no effect, i.e. > is not supported. There are users which would like to use waitid() on > pidfds that are O_NONBLOCK and mix it with pidfds that are blocking and >

[PATCH v2 0/4] Support non-blocking pidfds

2020-09-02 Thread Christian Brauner
Hi, Passing a non-blocking pidfd to waitid() currently has no effect, i.e. is not supported. There are users which would like to use waitid() on pidfds that are O_NONBLOCK and mix it with pidfds that are blocking and both pass them to waitid(). The expected behavior is to have waitid() return