Fix Hurd implementation of setitimer.
authorRichard Braun <rbraun@sceen.net>
Wed, 26 Dec 2012 16:31:14 +0000 (16:31 +0000)
committerAdrian Bunk <bunk@debian.org>
Tue, 23 Apr 2024 16:23:00 +0000 (19:23 +0300)
commitda065eeff7233c25dcf9de0e73e83a8d58611877
tree325ae1f05cc073dd4a409253849e889441c2687d
parent1aa4bc09528f0177dc60726dcce076b9f48f322f
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