diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2008-06-05 21:06:12 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2008-06-05 21:06:12 +0000 |
commit | 4d1c24b6554350893cc4ff6fd5dcd4c16d68d925 (patch) | |
tree | 40526dbc48ca1451a2d153f79308bf7a66708a80 /lib/librthread/Makefile | |
parent | 8069d0dbe3969ba410e2a7148cb59e4670241e30 (diff) |
- Add fork/vfork wrapper functions to reset state in the child process.
- Make an effort to protect important libc and ld.so critical areas during
the fork(2)/vfork(2) sys call.
- Add pthread_atfork(3) implementation based on Daniel Eischen's code.
Original diff by Philip Guenther <guenther at gmail.com> with some
additions and refinements by me. Positive test report from brad@ with
many kde apps. fork(2) and pthread_atfork(3) pthread regresses pass.
okay tedu@, kettenis@, marc@
Diffstat (limited to 'lib/librthread/Makefile')
-rw-r--r-- | lib/librthread/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile index 1b325c8b8fb..958236ad04c 100644 --- a/lib/librthread/Makefile +++ b/lib/librthread/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2006/01/05 04:06:48 marc Exp $ +# $OpenBSD: Makefile,v 1.10 2008/06/05 21:06:11 kurt Exp $ LIB=rthread WANTLINT= @@ -12,7 +12,7 @@ CFLAGS+=-I${LIBCSRCDIR}/include .PATH: ${.CURDIR}/arch/${MACHINE_ARCH} SRCS= rthread.c rthread_attr.c rthread_sched.c rthread_sync.c rthread_tls.c \ rthread_sig.c rthread_np.c rthread_debug.c rthread_stack.c \ - rthread_reaper.c rthread_libc.c + rthread_reaper.c rthread_libc.c rthread_fork.c OBJS+= _atomic_lock.o rfork_thread.o |