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>
Fri, 20 Sep 2019 19:39:03 +0000 (20:39 +0100)
commit0c82689c59cae88e465dd83257597ff383d838d1
treead1a9d2663fd25f03a3caa312b7d695c62412df5
parent2d118a6138838d54b61bc53cb9f10970fce46e17
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