diff options
author | njl <njl@FreeBSD.org> | 2005-10-20 05:12:20 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-10-20 05:12:20 +0000 |
commit | cd579e831a1baa37bf0078180c99d3f610b19217 (patch) | |
tree | 42aa1071c35792ded258a54b621c535a2013ae8e /lib/libkvm | |
parent | af52aff9fb7105bd301d51c309d414262a0d0286 (diff) | |
download | FreeBSD-src-cd579e831a1baa37bf0078180c99d3f610b19217.zip FreeBSD-src-cd579e831a1baa37bf0078180c99d3f610b19217.tar.gz |
Set the signal handlers before creating the thread. This is so it inherits
the parent's signal mask. Once daemon() forked, signals would be ignored
in the child thread. While I'm here, check the return value of daemon().
This fixes termination in the daemon case (bug introduced in last commit).
Noticed by: Frederik Lindberg
Diffstat (limited to 'lib/libkvm')
0 files changed, 0 insertions, 0 deletions