local-stack_chk_guard
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 18 Jun 2025 04:49:31 +0000 (06:49 +0200)
committerAurelien Jarno <aurel32@debian.org>
Wed, 18 Jun 2025 04:49:31 +0000 (06:49 +0200)
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
sysdeps/mach/hurd/x86_64/ld.abilist

index 0ddb220a4e8cbadfe24c68752091b93bdf339573..eb470d20a62288f7c7be5d339ba4d70f292bfed0 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 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
index 2297a5f3541182797370dfcaa346f0ce26a5bff2..65813436f4f0d0fe787df4e63a5838b013f7eebe 100644 (file)
@@ -8,6 +8,7 @@ GLIBC_2.38 __open64 F
 GLIBC_2.38 __pread64 F
 GLIBC_2.38 __read F
 GLIBC_2.38 __sbrk F
+GLIBC_2.38 __stack_chk_guard D 0x8
 GLIBC_2.38 __tls_get_addr F
 GLIBC_2.38 __write F
 GLIBC_2.38 __writev F