Re: [RFC PATCH] fork: add CLONE_PIDFD

2019-04-11 Thread Christian Brauner
On April 11, 2019 6:50:47 PM GMT+02:00, Linus Torvalds wrote: >On Wed, Apr 10, 2019 at 4:43 PM Christian Brauner > wrote: >> >> RFC-2: >> This alternative patchset uses anonymous file descriptors instead of >> file descriptors from /proc/. > >I think I prefer this one. Your diffstat makes it look

Re: [RFC PATCH] fork: add CLONE_PIDFD

2019-04-11 Thread Linus Torvalds
On Wed, Apr 10, 2019 at 4:43 PM Christian Brauner wrote: > > RFC-2: > This alternative patchset uses anonymous file descriptors instead of > file descriptors from /proc/. I think I prefer this one. Your diffstat makes it look bigger, but that's because you added the example code to use this to th

Re: [RFC PATCH] fork: add CLONE_PIDFD

2019-04-10 Thread Daniel Colascione
Thanks for trying it both ways. On Wed, Apr 10, 2019 at 4:43 PM Christian Brauner wrote: > > Hey Linus, > > This is an RFC for adding a new CLONE_PIDFD flag to clone() as > previously discussed. > While implementing this Jann and I ran into additional complexity that > prompted us to send out an

[RFC PATCH] fork: add CLONE_PIDFD

2019-04-10 Thread Christian Brauner
Hey Linus, This is an RFC for adding a new CLONE_PIDFD flag to clone() as previously discussed. While implementing this Jann and I ran into additional complexity that prompted us to send out an initial RFC patchset to make sure we still think going forward with the current implementation is a good