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>
Mon, 30 Dec 2019 18:12:42 +0000 (18:12 +0000)
commit2b348a462e07971cbe46db312e4d2e1afcbb45b4
tree6ff897e177f8f3d0d519eecb95edb82b3d1bd620
parent41060f905f22ffac2315c4ae9fed975a73ff7f79
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