git-longjmp-onstack
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 2 Oct 2021 12:47:40 +0000 (13:47 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 2 Oct 2021 12:47:40 +0000 (13:47 +0100)
commitd0d4b9ef0cd58b6595dc1713dd2e0ba4ed8e994f
tree05fea8640850c6ad852511de7e785921899e5a99
parenta0e9478ca30b3eb24e58e6cd6da68d1b8933e221
git-longjmp-onstack

Committed for glibc 2.32

commit 02937d825a71636c13b3f4229e5d6c9e54e327d5
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jun 6 20:21:22 2020 +0200

    hurd: fix clearing SS_ONSTACK when longjmp-ing from sighandler

    * sysdeps/i386/htl/Makefile: New file.
    * sysdeps/i386/htl/tcb-offsets.sym: New file.
    * sysdeps/mach/hurd/i386/Makefile [setjmp] (gen-as-const-headers): Add
    signal-defines.sym.
    * sysdeps/mach/hurd/i386/____longjmp_chk.S: Include tcb-offsets.h.
    (____longjmp_chk): Harmonize with i386's __longjmp. Clear SS_ONSTACK
    when jumping off the alternate stack.
    * sysdeps/mach/hurd/i386/__longjmp.S: New file.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-longjmp-onstack.diff
sysdeps/i386/htl/Makefile [new file with mode: 0644]
sysdeps/i386/htl/tcb-offsets.sym [new file with mode: 0644]
sysdeps/mach/hurd/i386/Makefile
sysdeps/mach/hurd/i386/____longjmp_chk.S
sysdeps/mach/hurd/i386/__longjmp.S [new file with mode: 0644]