local-stack_chk_guard
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 10 Jul 2022 20:29:34 +0000 (21:29 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 10 Jul 2022 20:29:34 +0000 (21:29 +0100)
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

sysdeps/mach/hurd/dl-sysdep.c
sysdeps/mach/hurd/i386/ld.abilist

index b1a151abc18a08de09416070a17fe96d9bad5609..4ab3fa2518e4e5fc6c6bc3a9a2bc5d5bb13444c1 100644 (file)
@@ -66,6 +66,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,
index 7e20c5e7ce8a7a5e81c37fd92ee33de00e4fb4d2..4bdcc8553b5db16a53fc8193be682f84207e0bd9 100644 (file)
@@ -16,3 +16,4 @@ GLIBC_2.2.6 _r_debug D 0x14
 GLIBC_2.2.6 abort F
 GLIBC_2.3 ___tls_get_addr F
 GLIBC_2.3 __tls_get_addr F
+GLIBC_2.4 __stack_chk_guard D 0x4