From f6abd970284a06380cd9d905f43da104bd49fc95 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 28 Dec 2020 23:37:04 +0100 Subject: hurd: Add WSTOPPED/WCONTINUED/WEXITED/WNOWAIT support [BZ #23091] The new __proc_waitid RPC now expects WEXITED to be passed, allowing to properly implement waitid, and thus define the missing W* macros (according to FreeBSD values). --- conform/data/sys/wait.h-data | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'conform') diff --git a/conform/data/sys/wait.h-data b/conform/data/sys/wait.h-data index c0761424da..a6713461ea 100644 --- a/conform/data/sys/wait.h-data +++ b/conform/data/sys/wait.h-data @@ -8,8 +8,7 @@ constant WUNTRACED macro WEXITSTATUS # if !defined XPG4 && !defined POSIX && !defined POSIX2008 -// Bug 23091: hurd: missing waitid support. -xfail[i386-gnu]-macro WIFCONTINUED +macro WIFCONTINUED # endif macro WIFEXITED macro WIFSIGNALED @@ -17,15 +16,14 @@ macro WIFSTOPPED macro WSTOPSIG macro WTERMSIG -// Bug 23091: hurd: missing waitid support. # if !defined XPG4 && !defined POSIX -xfail[i386-gnu]-constant WEXITED -xfail[i386-gnu]-constant WSTOPPED +constant WEXITED +constant WSTOPPED # ifndef POSIX2008 -xfail[i386-gnu]-constant WCONTINUED +constant WCONTINUED # endif constant WNOHANG -xfail[i386-gnu]-constant WNOWAIT +constant WNOWAIT # endif #if !defined XPG4 && !defined POSIX -- cgit 1.4.1