From 8cbe8c803387ceaf2bcaba328fe1fb26344c74db Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Sun, 3 Jun 2001 08:55:12 +0000 Subject: WALTSIG is a valid option for sys_wait4(). --- sys/kern/kern_exit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern') diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 3884df3cc90..b74c64b0357 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exit.c,v 1.31 2001/05/16 05:07:52 millert Exp $ */ +/* $OpenBSD: kern_exit.c,v 1.32 2001/06/03 08:55:11 angelos Exp $ */ /* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */ /* @@ -427,7 +427,7 @@ sys_wait4(q, v, retval) if (SCARG(uap, pid) == 0) SCARG(uap, pid) = -q->p_pgid; - if (SCARG(uap, options) &~ (WUNTRACED|WNOHANG)) + if (SCARG(uap, options) &~ (WUNTRACED|WNOHANG|WALTSIG)) return (EINVAL); loop: -- cgit v1.2.3