From cb50e4cba7c57348005d6d7be62fcea1ee889b2e Mon Sep 17 00:00:00 2001 From: mbuhl <> Date: Thu, 2 Sep 2021 15:28:41 +0000 Subject: Enable vfork syscall test. Disable SIGSTOP test as it is masked until exec/exit with vfork. OK bluhm@ --- src/regress/lib/libc/sys/t_fork.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/regress/lib/libc/sys/t_fork.c') diff --git a/src/regress/lib/libc/sys/t_fork.c b/src/regress/lib/libc/sys/t_fork.c index 76d66ce9d4..04157efc5d 100644 --- a/src/regress/lib/libc/sys/t_fork.c +++ b/src/regress/lib/libc/sys/t_fork.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t_fork.c,v 1.1 2021/09/02 12:40:44 mbuhl Exp $ */ +/* $OpenBSD: t_fork.c,v 1.2 2021/09/02 15:28:41 mbuhl Exp $ */ /* $NetBSD: t_fork.c,v 1.4 2019/04/06 15:41:54 kamil Exp $ */ /*- @@ -34,6 +34,9 @@ __COPYRIGHT("@(#) Copyright (c) 2018, 2019\ __RCSID("$NetBSD: t_fork.c,v 1.4 2019/04/06 15:41:54 kamil Exp $"); #include +#ifdef __OpenBSD__ +#include +#endif #include #include #include @@ -118,10 +121,8 @@ await_stopped_child(pid_t process) continue; if (p[i].p_ppid != process) continue; -#ifndef __OpenBSD__ if (p[i].p_stat != LSSTOP) continue; -#endif child = p[i].p_pid; break; } -- cgit v1.2.3-55-g6feb