From: Szabolcs Nagy Date: Sun, 22 Dec 2019 12:11:30 +0000 (+0000) Subject: sys/wait.h: add P_PIDFD from linux v5.4 X-Git-Tag: v1.2.0~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f296be74d5ab94f6ccac26e129d96e08f1c20538;p=oweals%2Fmusl.git sys/wait.h: add P_PIDFD from linux v5.4 allows waiting on a pidfd, in the future it might allow retrieving the exit status by a non-parent process, see linux commit 3695eae5fee0605f316fbaad0b9e3de791d7dfaf pidfd: add P_PIDFD to waitid() --- diff --git a/include/sys/wait.h b/include/sys/wait.h index d9adbdec..d4b1f2e1 100644 --- a/include/sys/wait.h +++ b/include/sys/wait.h @@ -13,7 +13,8 @@ extern "C" { typedef enum { P_ALL = 0, P_PID = 1, - P_PGID = 2 + P_PGID = 2, + P_PIDFD = 3 } idtype_t; pid_t wait (int *);