Fix PR 6376: restore more thread library state if execve fails,
authorguenther <guenther@openbsd.org>
Tue, 13 Jul 2010 03:10:29 +0000 (03:10 +0000)
committerguenther <guenther@openbsd.org>
Tue, 13 Jul 2010 03:10:29 +0000 (03:10 +0000)
commit1fed1a6c4dd8e122994e232326f6d58c5e96c437
tree8ff7ce85d882d2643b0d3773059b909b25741143
parent769ee8042fd24a146a05ebedba6e84ffdf5be00d
Fix PR 6376: restore more thread library state if execve fails,
including the scheduling timer, sigmask, fd nonblocking status, and
handling of the signals used by the thread library.

ok marc@, additional testing by ajacoutot@
lib/libpthread/uthread/pthread_private.h
lib/libpthread/uthread/uthread_execve.c
lib/libpthread/uthread/uthread_sig.c