arm64: dts: uniphier: change cpu-release-address
[deliverable/linux.git] / kernel / exit.c
index 44fbe6edd7feb5c29c48a004ceda91d8dad2097b..9e6e1356e6bbc2dbb2aeb9ef5b2b02d05961ad3c 100644 (file)
@@ -1535,7 +1535,8 @@ SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *,
        enum pid_type type;
        long ret;
 
-       if (options & ~(WNOHANG|WNOWAIT|WEXITED|WSTOPPED|WCONTINUED))
+       if (options & ~(WNOHANG|WNOWAIT|WEXITED|WSTOPPED|WCONTINUED|
+                       __WNOTHREAD|__WCLONE|__WALL))
                return -EINVAL;
        if (!(options & (WEXITED|WSTOPPED|WCONTINUED)))
                return -EINVAL;
This page took 0.033474 seconds and 5 git commands to generate.