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: 894376 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-91340-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="hytPbSzU"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40FPnM2CvZz9s1b for ; Tue, 3 Apr 2018 07:02:46 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=vYbwfBFkDdG4mRyZqaapnB2Ez1Emcni44/fy1P9r0tB1uuJDDgLKT mEpHlqMhasPNE9vV+3iWy0PbFdBI66UI2Py/cotnPm8aVmA6Cu8oFyPwsgLC0SG5 m7p46QzXuku31DwOlJ34hChl03CBzQF6VIBiaUFeU+dK/QeMdqc4dA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=NP1lmG1f94CGYMbS0b5EhnbsQzs=; b=hytPbSzUvGJvxNkXUSFq3FB2dTw7 pzILVXZ6RBvqNyIlMcq93FMB2JUO0CJQMgupQcWqSNmM15c1ir1PSfYOLyPJDKf3 fCj+dh4WABLR9GRq6cDCWYmNqLVti1nYQOFtg+c+znw9iA464o9VkfcR7tT9J/3D 7Iin5vQgDTX39m0= 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