git-longjmp-onstack
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 16 Dec 2020 21:33:25 +0000 (21:33 +0000)
committerSamuel Thibault <sthibault@debian.org>
Wed, 16 Dec 2020 21:33:25 +0000 (21:33 +0000)
commit7e3cfc85e3e11381044bdecb63ee7b7c8c104283
treea4e1428491ff479c67dfcc335a216f28dd257c45
parent439a15514528844e9fe4cd2787def69ea1b7d271
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]