16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2607ca46eSDavid Howells #ifndef _UAPI_LINUX_WAIT_H 3607ca46eSDavid Howells #define _UAPI_LINUX_WAIT_H 4607ca46eSDavid Howells 5607ca46eSDavid Howells #define WNOHANG 0x00000001 6607ca46eSDavid Howells #define WUNTRACED 0x00000002 7607ca46eSDavid Howells #define WSTOPPED WUNTRACED 8607ca46eSDavid Howells #define WEXITED 0x00000004 9607ca46eSDavid Howells #define WCONTINUED 0x00000008 10607ca46eSDavid Howells #define WNOWAIT 0x01000000 /* Don't reap, just poll status. */ 11607ca46eSDavid Howells 12607ca46eSDavid Howells #define __WNOTHREAD 0x20000000 /* Don't wait on children of other threads in this group */ 13607ca46eSDavid Howells #define __WALL 0x40000000 /* Wait on all children, regardless of type */ 14607ca46eSDavid Howells #define __WCLONE 0x80000000 /* Wait only on non-SIGCHLD children */ 15607ca46eSDavid Howells 16607ca46eSDavid Howells /* First argument to waitid: */ 17607ca46eSDavid Howells #define P_ALL 0 18607ca46eSDavid Howells #define P_PID 1 19607ca46eSDavid Howells #define P_PGID 2 20*3695eae5SChristian Brauner #define P_PIDFD 3 21607ca46eSDavid Howells 22607ca46eSDavid Howells 23607ca46eSDavid Howells #endif /* _UAPI_LINUX_WAIT_H */ 24