From: GNU Libc Maintainers Date: Thu, 13 Jul 2023 18:07:47 +0000 (+0100) Subject: local-stack_chk_guard X-Git-Tag: archive/raspbian/2.36-9+rpi1+deb12u1^2~45 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f92d3260614e2d8a8a301627013e5d1ca7c708d0;p=glibc.git local-stack_chk_guard Fix compatibility with binaries that reference __stack_chk_guard TODO: find where these references are coming from. Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name local-stack_chk_guard.diff --- diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index f23fdee05..933bde1b2 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -67,6 +67,8 @@ void *_dl_random attribute_relro = NULL; struct hurd_startup_data *_dl_hurd_data; +uintptr_t __stack_chk_guard attribute_relro; + ElfW(Addr) _dl_sysdep_start (void **start_argptr, diff --git a/sysdeps/mach/hurd/i386/ld.abilist b/sysdeps/mach/hurd/i386/ld.abilist index ebba31f77..bba7078aa 100644 --- a/sysdeps/mach/hurd/i386/ld.abilist +++ b/sysdeps/mach/hurd/i386/ld.abilist @@ -17,3 +17,4 @@ GLIBC_2.2.6 abort F GLIBC_2.3 ___tls_get_addr F GLIBC_2.3 __tls_get_addr F GLIBC_2.34 __rtld_version_placeholder F +GLIBC_2.4 __stack_chk_guard D 0x4