diff options
author | gallatin <gallatin@FreeBSD.org> | 2000-11-13 20:44:05 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2000-11-13 20:44:05 +0000 |
commit | 30c1d926721383cc71c3cd1961eb34b5305f3753 (patch) | |
tree | 0ce323bc1848a6ced2f3c3627ba7e1eadac7b868 /lib/csu | |
parent | ae7cd02c4261982afb94655a8f92b2eac17f381a (diff) | |
download | FreeBSD-src-30c1d926721383cc71c3cd1961eb34b5305f3753.zip FreeBSD-src-30c1d926721383cc71c3cd1961eb34b5305f3753.tar.gz |
Make linux_sendsig and linux_sigreturn use all 64 bits of a
linux_sigset_t by updating the linux_sigframe struct so as to include
linux's "extramask" field. This field contains the upper 32-bits of
the sigset. extramask sits behind a linux_fpstate struct, which I've
defined primarily for padding purposes.
While we're here, define LINUX_NSIG in terms of LINUX_NBPW (32) and
LINUX_NSIG_WORDS (2).
This fixes problems where threaded apps would accumulate a large
number of zombies. This was happening because the exit signal resides
in the upper 32-bits of the sigset and was never getting unmasked by
the manager thread after the first child exited.
PR: misc/18530 (may be related, originator not yet contacted)
Reviewed by: marcel
Diffstat (limited to 'lib/csu')
0 files changed, 0 insertions, 0 deletions