summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_amd64.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-10-20 05:12:20 +0000
committernjl <njl@FreeBSD.org>2005-10-20 05:12:20 +0000
commitcd579e831a1baa37bf0078180c99d3f610b19217 (patch)
tree42aa1071c35792ded258a54b621c535a2013ae8e /lib/libkvm/kvm_amd64.c
parentaf52aff9fb7105bd301d51c309d414262a0d0286 (diff)
downloadFreeBSD-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/kvm_amd64.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud