about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-16 02:59:14 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-16 02:59:36 +0200
commit8c9d53428e463da0ab99ff5162d94c3a043b3a2d (patch)
tree48ad3a252f0ba78a67fa064795d4f039a9dafbc2
parentb0344cf5c55b4ca83f383c7a1896a016dfe66687 (diff)
downloadglibc-8c9d53428e463da0ab99ff5162d94c3a043b3a2d.tar.gz
glibc-8c9d53428e463da0ab99ff5162d94c3a043b3a2d.tar.xz
glibc-8c9d53428e463da0ab99ff5162d94c3a043b3a2d.zip
hurd: Whitelist PLT refs which are difficult to avoid
	* sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
	__libc_lseek64, _IO_funlockfile): Whitelist PLT references.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/mach/hurd/localplt.data8
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c4b6ccd2f..2fc3a71c21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,8 @@
 	* sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
 	__mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
 	__swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
+	* sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
+	__libc_lseek64, _IO_funlockfile): Whitelist PLT references.
 
 2018-06-15  Joseph Myers  <joseph@codesourcery.com>
 
diff --git a/sysdeps/mach/hurd/localplt.data b/sysdeps/mach/hurd/localplt.data
index 58d119e3b9..a1f1ae626a 100644
--- a/sysdeps/mach/hurd/localplt.data
+++ b/sysdeps/mach/hurd/localplt.data
@@ -52,3 +52,11 @@ ld.so: _dl_init_first
 ld.so: _dl_mcount
 ld.so: ___tls_get_addr
 ld.so: __tunable_get_val
+
+# These should ideally be avoided, but is currently difficult
+libc.so: siglongjmp ?
+libc.so: longjmp ?
+# This is from lseek.c
+libc.so: __libc_lseek64 ?
+# This is through cleanup_region_start from vfprintf.c
+libc.so: _IO_funlockfile ?