git-longjmp-onstack
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Thu, 15 Aug 2024 09:21:36 +0000 (11:21 +0200)
committerAurelien Jarno <aurel32@debian.org>
Thu, 15 Aug 2024 09:21:36 +0000 (11:21 +0200)
commit57b4b27bdd25bc5813a0427d84d6bf37f93147ba
treee0e6d516ce4d82a5e48c6c0f51dd4080c638d032
parent6bad32804eb7fe4c8568e8d1ddaa888c8f19bb8b
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]