aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 23:02:02 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 23:02:02 +0200
commit171488a2de9fc38ce304487b5344059d49b190ef (patch)
tree258348381855dc3b1e4b2750fc823e1a4b38a342
parent97c7a6a68beab2e1c771ab7787607c6cafa56591 (diff)
downloadglibc-171488a2de9fc38ce304487b5344059d49b190ef.zip
glibc-171488a2de9fc38ce304487b5344059d49b190ef.tar.gz
glibc-171488a2de9fc38ce304487b5344059d49b190ef.tar.bz2
hurd: whitelist rtld symbols expected to be overridable
* sysdeps/mach/hurd/localplt.data: New file.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/mach/hurd/localplt.data20
2 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cbc9836..c0433c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -346,6 +346,8 @@
__clock_gettime and __nanosleep instead of clock_gettime and
nanosleep.
+ * sysdeps/mach/hurd/localplt.data: New file.
+
2018-04-02 Agustina Arzille <avarzille@riseup.net>
Amos Jeffries <squid3@treenet.co.nz>
David Michael <fedora.dm0@gmail.com>
diff --git a/sysdeps/mach/hurd/localplt.data b/sysdeps/mach/hurd/localplt.data
new file mode 100644
index 0000000..dea460b
--- /dev/null
+++ b/sysdeps/mach/hurd/localplt.data
@@ -0,0 +1,20 @@
+# The dynamic linker has its own versions of basic functions for initial loading
+# of shared libraries. These need to be overriden by libc once loaded.
+ld.so: __open
+ld.so: __close
+ld.so: __libc_read
+ld.so: __libc_write
+ld.so: __writev
+ld.so: __libc_lseek64
+ld.so: __map
+ld.so: __fxstat64
+ld.so: __xstat64
+ld.so: __access
+ld.so: __access_noerrno
+ld.so: __getpid
+ld.so: __getcwd
+ld.so: __sbrk
+ld.so: __strtoul_internal
+ld.so: _exit
+ld.so: abort
+ld.so: _hurd_intr_rpc_mach_msg