diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-15 06:05:53 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-15 06:05:53 +0000 |
commit | 2ecb0baef9b41a84e9c7e2feb0f6bcfcd42e245f (patch) | |
tree | 94d12415f62e33006f9b05dcaf795f5a25a9fe0f /sys/compat/svr4/svr4_signal.c | |
parent | ba17f093cfbe0f66e33bed60c33a154881deaf1d (diff) |
SA_NOCLDWAIT
Diffstat (limited to 'sys/compat/svr4/svr4_signal.c')
-rw-r--r-- | sys/compat/svr4/svr4_signal.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_signal.c b/sys/compat/svr4/svr4_signal.c index 7d51f5610ce..4531aa74b62 100644 --- a/sys/compat/svr4/svr4_signal.c +++ b/sys/compat/svr4/svr4_signal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_signal.c,v 1.7 1997/09/15 03:01:49 deraadt Exp $ */ +/* $OpenBSD: svr4_signal.c,v 1.8 1997/09/15 06:04:58 millert Exp $ */ /* $NetBSD: svr4_signal.c,v 1.24 1996/12/06 03:21:53 christos Exp $ */ /* @@ -200,6 +200,8 @@ svr4_to_bsd_sigaction(ssa, bsa) bsa->sa_flags |= SA_RESETHAND; if ((ssa->sa_flags & SVR4_SA_NOCLDSTOP) != 0) bsa->sa_flags |= SA_NOCLDSTOP; + if ((ssa->sa_flags & SVR4_SA_NOCLDWAIT) != 0) + bsa->sa_flags |= SA_NOCLDWAIT; if ((ssa->sa_flags & SVR4_SA_NODEFER) != 0) bsa->sa_flags |= SA_NODEFER; if ((ssa->sa_flags & SVR4_SA_SIGINFO) != 0) @@ -225,6 +227,8 @@ bsd_to_svr4_sigaction(bsa, ssa) ssa->sa_flags |= SVR4_SA_NODEFER; if ((bsa->sa_flags & SA_NOCLDSTOP) != 0) ssa->sa_flags |= SVR4_SA_NOCLDSTOP; + if ((bsa->sa_flags & SA_NOCLDWAIT) != 0) + ssa->sa_flags |= SVR4_SA_NOCLDWAIT; if ((bsa->sa_flags & SA_SIGINFO) != 0) ssa->sa_flags |= SVR4_SA_SIGINFO; } |