hurd: Signal code refactoring
authorJeremie Koenig <jk@jk.fr.eu.org>
Sun, 29 Dec 2019 16:18:04 +0000 (17:18 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 29 Dec 2019 16:18:04 +0000 (17:18 +0100)
commit4288c548da30c5b70d3b531e425d271cf12c51d3
tree41a900b5b73089f70085797dab1655359e0b89e7
parenta678c13b8f9fa67c6cffe6ecf4ba1d5e53479e1b
hurd: Signal code refactoring

This should not change the current behavior, although this fixes a few
minor bugs which were made apparent in the process of global signal
disposition work:

- Split into more functions
- Scope variables more restrictively
- Split out inner functions
- refactor check_pending_signals
- make sigsuspend POSIX-conformant.
- fix uninitialized act value.
hurd/hurdsig.c