From patchwork Mon Apr 2 21:02:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 26557 Received: (qmail 5814 invoked by alias); 2 Apr 2018 21:02:40 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 5805 invoked by uid 89); 2 Apr 2018 21:02:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd, commited] hurd: whitelist rtld symbols expected to be overridable Date: Mon, 2 Apr 2018 23:02:30 +0200 Message-Id: <20180402210230.8437-1-samuel.thibault@ens-lyon.org> * sysdeps/mach/hurd/localplt.data: New file. --- ChangeLog | 2 ++ sysdeps/mach/hurd/localplt.data | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 sysdeps/mach/hurd/localplt.data diff --git a/ChangeLog b/ChangeLog index cbc98364a0..c0433c9013 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 Amos Jeffries David Michael diff --git a/sysdeps/mach/hurd/localplt.data b/sysdeps/mach/hurd/localplt.data new file mode 100644 index 0000000000..dea460b4b0 --- /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