]> git.ipfire.org Git - thirdparty/glibc.git/commit
hurd: Fix implementation of setitimer.
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 29 Aug 2019 23:04:17 +0000 (01:04 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 29 Aug 2019 23:04:17 +0000 (01:04 +0200)
commitf0e84494b1c8b7262ebe925f224dfeef7fb5dcef
treef0e2774d443f1ef4a4346ca735698e751be3ce93
parent4b068090a0062500e4a254a98f5cd8a7d2c3c435
hurd: Fix 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.
ChangeLog
sysdeps/mach/hurd/setitimer.c