aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/tst-scanf-format-ss-ldouble.c
diff options
context:
space:
mode:
authorLuca Dariz <luca@orpolo.org>2025-03-19 18:11:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-04-18 02:42:36 +0200
commit6d6a6e2dd2133908e3f5cb8a2ed817ccb2a0bb06 (patch)
treeda63d4eb49134131818869dc4e3c8e83c9d50ba6 /stdio-common/tst-scanf-format-ss-ldouble.c
parente150ee870907e1c5ded4aad8d22a92a98f59d243 (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
hurd: save xstate during signal handlingHEADmaster
* hurd/Makefile: add new tests * hurd/test-sig-rpc-interrupted.c: check xstate save and restore in the case where a signal is delivered to a thread which is waiting for an rpc. This test implements the rpc interruption protocol used by the hurd servers. It was so far passing on Debian thanks to the local-intr-msg-clobber.diff patch, which is now obsolete. * hurd/test-sig-xstate.c: check xstate save and restore in the case where a signal is delivered to a running thread, making sure that the xstate is modified in the signal handler. * hurd/test-xstate.h: add helpers to test xstate * sysdeps/mach/hurd/i386/bits/sigcontext.h: add xstate to the sigcontext structure. + sysdeps/mach/hurd/i386/sigreturn.c: restore xstate from the saved context * sysdeps/mach/hurd/x86/trampoline.c: save xstate if supported. Otherwise we fall back to the previous behaviour of ignoring xstate. * sysdeps/mach/hurd/x86_64/bits/sigcontext.h: add xstate to the sigcontext structure. * sysdeps/mach/hurd/x86_64/sigreturn.c: restore xstate from the saved context Signed-off-by: Luca Dariz <luca@orpolo.org> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Message-ID: <20250319171118.142163-1-luca@orpolo.org>
Diffstat (limited to 'stdio-common/tst-scanf-format-ss-ldouble.c')
0 files changed, 0 insertions, 0 deletions