local-stack_chk_guard
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Thu, 6 Mar 2025 22:46:53 +0000 (23:46 +0100)
committerAurelien Jarno <aurel32@debian.org>
Thu, 6 Mar 2025 22:46:53 +0000 (23:46 +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 f23fdee05854d32ebecc8f0d14365d3f159cd53c..933bde1b279929b1f4b6fcd35c98cab12e46a19a 100644 (file)
@@ -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,
index ebba31f7706d854d3ce5dcd6e0f208d5c8107e0f..bba7078aa03227bc961ff5857f9d5df53f3fd8df 100644 (file)
@@ -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