[PATCH 0/2] Hurd signals: global dispositions and other fixes
I have been working (as a GSoC student for the GNU project) on a series of
patches which improve signal delivery on Hurd. I believe they're ready to
be tested in Debian and therefore I submit the changes I used to build my
own "preview" packages.
Because the series introduces new symbols but we expect them to be used
only by the hurd package, it seems appropriate to add our own deb-symbols
file -- see the first patch thereafter. Somewhat arbitrarily, I used 2.11
as a "baseline" for Hurd's unversionned symbols.
The second patch actually adds the series to debian/patches/hurd-i386.
See bug-hurd  and github  for the raw material.
Modified eglibc and hurd packages are available in my apt repository .
Be aware, though, that the hurd package therein depends on the extra
symbols, and as a consequence your system will break on a libc upgrade if
said libc does not include my patches, or includes them under a different
version ('echo libc0.3 hold | dpkg --set-selections' advised.)
 deb http://jk.fr.eu.org/debian experimental/
Patches breakdown in terms of commits:
34f5960 _hurd_internal_post_signal: Split into more functions
420eec9 _hurd_internal_post_signal: Scope variables more restrictively
1f5accd _hurd_internal_post_signal: Split out inner functions
1bb0a1d Hurd signals: refactor check_pending_signals
1764465 Hurd signals: reindent
28473d2 Hurd signals: make sigsuspend POSIX-conformant.
26d091a Hurd signals: fix uninitialized value.
e407ae3 Hurd signals: implement global signal dispositions
38eb4b3 Hurd signals: provide a sigstate destructor
344dfd6 Hurd signals: fix sigwait() for global signals
fb055f2 Hurd signals: fix global untraced signals.
849b07c Hurd signals: use GLIBC_2.13_DEBIAN_11 for now
52baaca Hurd signals: Copy bits/sigaction.h
4232c66 Hurd signals: SA_SIGINFO support
1831cfe Hurd signals: Use POSIX sigcodes
submitted-hurdsig-fixes-2.diff (not reviewed yet, maybe skip this one?)
22e7268 Hurd signals: fix sigwait for pending signals
da8bf5e Hurd signals: clear the pending mask in fork and spawn
8e87205 Hurd signals: don't drop blocked ignored signals
Jeremie Koenig (2):
Add a symbols file for Hurd
patches/hurd-i386/submitted-hurdsig-*: Improve signals on Hurd
debian/changelog | 10 +
debian/libc0.3.symbols.hurd-i386 | 971 +++++++++++++++
.../hurd-i386/submitted-PTRACE_CONTINUE.diff | 29 -
.../hurd-i386/submitted-hurdsig-SA_SIGINFO.diff | 527 +++++++++
.../hurd-i386/submitted-hurdsig-fixes-2.diff | 44 +
.../patches/hurd-i386/submitted-hurdsig-fixes.diff | 352 ++++++
.../submitted-hurdsig-global-dispositions.diff | 1238 ++++++++++++++++++++
debian/patches/series | 4 +-
8 files changed, 3145 insertions(+), 30 deletions(-)
create mode 100644 debian/libc0.3.symbols.hurd-i386
delete mode 100644 debian/patches/hurd-i386/submitted-PTRACE_CONTINUE.diff
create mode 100644 debian/patches/hurd-i386/submitted-hurdsig-SA_SIGINFO.diff
create mode 100644 debian/patches/hurd-i386/submitted-hurdsig-fixes-2.diff
create mode 100644 debian/patches/hurd-i386/submitted-hurdsig-fixes.diff
create mode 100644 debian/patches/hurd-i386/submitted-hurdsig-global-dispositions.diff