Fix Hurd implementation of setitimer.
authorRichard Braun <rbraun@sceen.net>
Wed, 26 Dec 2012 16:31:14 +0000 (16:31 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 8 Sep 2019 20:34:02 +0000 (21:34 +0100)
commitf473c005f2e2fa2f7fe7cb14d4e872bb670029e1
tree4e388975c87a52958fec0427abafc6f826cc88f8
parenteee9376ccee3f3de9f21d1876c856367253d7e7f
Fix Hurd implementation of setitimer.

    The preemptor sigcode doesn't match since the POSIX sigcode SI_TIMER is
    used when SIGALRM is sent. In addition, The inline version of
    hurd_preempt_signals doesn't update _hurdsig_preempted_set. For these
    reasons, the preemptor would be skipped by post_signal.

    * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-setitimer.diff
sysdeps/mach/hurd/setitimer.c