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>
Thu, 28 Feb 2019 05:56:01 +0000 (05:56 +0000)
commitefae4d4945ad38c6c9da179d64d4dbdaf0d18afd
tree9bf4b2bc3ad19e585360dfb1807ffa13f6722eb9
parentcc5814b6248f0525472506ce90864246a89375e4
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