summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_stack.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2008-12-01 21:00:25 +0000
committerkan <kan@FreeBSD.org>2008-12-01 21:00:25 +0000
commit5542bcbfb08273f9f8b29628ee1e298bd956661c (patch)
treec467eaf939ad5732ac5b5657c1bf512e8f76eeb1 /lib/libthr/thread/thr_stack.c
parent9ce9c6455336df8584cd3ea4f1f108d07a3b008f (diff)
downloadFreeBSD-src-5542bcbfb08273f9f8b29628ee1e298bd956661c.zip
FreeBSD-src-5542bcbfb08273f9f8b29628ee1e298bd956661c.tar.gz
Invoke _rtld_atfork_post earlier, before we reinitialize rtld locks
by switching into single-thread mode. libthr ignores broken use of lock bitmaps used by default rtld locking implementation, this in turn turns lock handoff in _rtld_thread_init into NOP. This in turn makes child processes of forked multi-threaded programs to run with _thr_signal_block still in effect, with most signals blocked. Reported by: phk, kib
Diffstat (limited to 'lib/libthr/thread/thr_stack.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud