local-stack_chk_guard
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 19 Sep 2021 18:46:59 +0000 (19: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 ce19e4e7542649bccb41aa675191446ba3779b94..9ae255725827949ac55954a5825a3f45b52871c1 100644 (file)
@@ -68,6 +68,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 b4fce5e5f5e7f7d53d82f69e05f3a90f74538923..8b010cc7806abfbc96895a993a44058afe842c6e 100644 (file)
@@ -19,3 +19,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