lib/deploy: Use _exit() for FIFREEZE watchdog
authorColin Walters <walters@verbum.org>
Wed, 11 Oct 2017 21:02:02 +0000 (17:02 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 11 Oct 2017 21:24:39 +0000 (21:24 +0000)
commit8f6ec62bfb149ec8dfb6076228dd64e5df27a76b
treee0238a8139f3e61d3b807ef596886b4a1b4e8026
parent1825f03fe77cdc028aa19c6b2f20086381fd2604
lib/deploy: Use _exit() for FIFREEZE watchdog

This works around an (IMO) SpiderMonkey bug - it tries to
clean up in a shared library destructor, but doesn't install a
`pthread_atfork()` handler to unset its state.

Closes: https://github.com/ostreedev/ostree/issues/1262
Closes: #1264
Approved by: dbnicholson
src/libostree/ostree-sysroot-deploy.c