From: GNU Libc Maintainers Date: Tue, 3 Oct 2023 17:14:06 +0000 (+0100) Subject: local-stack_chk_guard X-Git-Tag: archive/raspbian/2.37-12+rpi1^2~33 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7a0d9da95761970e9f934e7dbb7cbc68422020b0;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 9e591708e..dce39207c 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