This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v1 0/1] waitid: process group enhancement
- From: christian dot brauner at ubuntu dot com
- To: linux-kernel at vger dot kernel dot org, libc-alpha at sourceware dot org
- Cc: oleg at redhat dot com, alistair23 at gmail dot com, ebiederm at xmission dot com, arnd at arndb dot de, dalias at libc dot org, torvalds at linux-foundation dot org, adhemerval dot zanella at linaro dot org, fweimer at redhat dot com, palmer at sifive dot com, macro at wdc dot com, zongbox at gmail dot com, akpm at linux-foundation dot org, viro at zeniv dot linux dot org dot uk, hpa at zytor dot com, Christian Brauner <christian dot brauner at ubuntu dot com>
- Date: Wed, 14 Aug 2019 13:38:21 +0200
- Subject: [PATCH v1 0/1] waitid: process group enhancement
- References: <CAKmqyKMJPQAOKn11xepzAwXOd4e9dU0Cyz=A0T-uMEgUp5yJjA@mail.gmail.com>
From: Christian Brauner <christian.brauner@ubuntu.com>
Hey everyone,
This patch adds support for waiting on the current process group by
specifying waitid(P_PGID, 0, ...) as discussed in [1]. The details why
we need to do this are in the commit message of [PATCH 1/1] so I won't
repeat them here.
I've picked this up since the thread has gone stale and parts of
userspace are actually blocked by this.
Note that the patch has been marked with v1 because I've changed the
patch to be more closely aligned with the P_PIDFD changes to waitid() I
have sitting in my for-next branch (cf. [2]).
This makes the merge conflict a little simpler and picks up on the
coding style discussions that guided the P_PIDFD patchset.
There was some desire to get this feature in with 5.3 (cf. [3]).
But given that this is a new feature for waitid() and for the sake of
avoiding any merge conflicts I would prefer to land this in the 5.4
merge window together with the P_PIDFD changes.
Thanks!
Christian
/* References */
[1]: https://www.sourceware.org/ml/libc-alpha/2019-07/msg00587.html
[2]: https://lore.kernel.org/lkml/20190727222229.6516-1-christian@brauner.io/
[3]: https://www.sourceware.org/ml/libc-alpha/2019-08/msg00304.html
Eric W. Biederman (1):
waitid: Add support for waiting for the current process group
kernel/exit.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
--
2.22.0