diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-12-03 18:09:10 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-12-03 18:09:10 +0000 |
commit | c70b5cef9cd869b5048eb62edb340396b02e4db0 (patch) | |
tree | 0683210c43a51394ea6f6bca3962c42be65f891c /sys/kern/kern_exec.c | |
parent | b1ebc44477794b7e2189d2bc0b2251eb10230ff4 (diff) |
kernel support for threaded processes (rthreads).
uses rfork(RFTHREAD) to create threads, which are presently processes
that are a little more tightly bound together. several new syscalls
added to facilitate a userland thread library.
all conditional on RTHREADS, currently disabled.
ok deraadt
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index a4fe2366a23..dc01d2833d9 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.96 2005/11/28 00:14:28 jsg Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.97 2005/12/03 18:09:08 tedu Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -709,7 +709,7 @@ exec_abort: free_pack_abort: free(pack.ep_hdr, M_EXEC); - exit1(p, W_EXITCODE(0, SIGABRT)); + exit1(p, W_EXITCODE(0, SIGABRT), EXIT_NORMAL); /* NOTREACHED */ p->p_flag &= ~P_INEXEC; |