Make sysdeps/generic/internal-signals.h less stubby.
commit9185f86d8ffb37defdbea6ef616338106de6c2c8
authorZack Weinberg <zackw@panix.com>
Wed, 4 Apr 2018 16:37:23 +0000 (4 12:37 -0400)
committerZack Weinberg <zackw@panix.com>
Wed, 4 Apr 2018 16:37:23 +0000 (4 12:37 -0400)
tree6b5c99080eab192354391cbddc68e35137013528
parentb07367bcf8ef92ab746c70258a17d386083a274e
Make sysdeps/generic/internal-signals.h less stubby.

Three of the functions defined by internal-signals.h were not actually
fulfilling their contracts when the sysdeps/generic version of that
file was used.  Also, the Linux version included several more headers
than the generic version, which is the root cause of a build failure
on Hurd (already addressed in another way, but I think it is proper to
make the headers match).

* sysdeps/generic/internal-signals.h: Include signal.h,
sigsetops.h, and stdbool.h.
(__libc_signal_block_all): Actually block all signals.
(__libc_signal_block_app): Likewise.
(__libc_signal_restore_set): Actually restore the signal mask.
ChangeLog
sysdeps/generic/internal-signals.h