Fix Hurd implementation of setitimer.
authorRichard Braun <rbraun@sceen.net>
Wed, 26 Dec 2012 16:31:14 +0000 (16:31 +0000)
committerSamuel Thibault <sthibault@debian.org>
Sat, 9 Feb 2019 17:34:27 +0000 (17:34 +0000)
commita34236a2d4b2d556848b348f867919c5768f80ba
tree625adb390358fb1234d0fd90e0af62a1be96ccb5
parent28caa05c2796c4966314fdf295be55cd4051ab90
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