[lkml]   [2019]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/4] pid: add pidfd_open()

On March 28, 2019 6:38:15 AM EDT, Christian Brauner <> wrote:
>> All that said, thanks for the work on this once again. My intention
>> just that we don't end up with an API that could have been done
>> and be cleaner to use for potential users in the coming years.
>Thanks for your input on all of this. I still don't find multiplexers
>the style of seccomp()/fsconfig()/keyctl() to be a problem since they
>deal with a specific task. They are very much different from ioctl()s
>that regard. But since Joel, you, and Daniel found the pidctl()
>not very nice I dropped it. The interface needs to be satisfactory for
>all of us especially since Android and other system managers will be
>main consumers.
>So let's split this into pidfd_open(pid_t pid, unsigned int flags)
>allows to cleanly get pidfds independent procfs and do the translation
>to procpidfds in an ioctl() as we've discussed in prior threads. This
>should also accommodate comments and ideas from Andy and Jann.
>I'm coding this up now.

This sounds quite sensible to me. Thanks!

Joel Fernandes, Android kernel team
Sent from k9-mail on Android

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