From patchwork Sun Sep 3 02:33:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 809192 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-84133-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="ayRKhTnS"; 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 3xlH9S3h0mz9sPk for ; Sun, 3 Sep 2017 12:34:04 +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=go0NoFbGKS4kmmu2FdL6ZhyzVu/T6ouENg5N83CLgBPxEkEqoQDBB XLQwO+3uJ6OEzJX4kwWM0WDBG9thKykVnPYz1O/XCCupvKYRlDmhYQDjWjdFR+3X +HQ8Z/CbtRP0r92Owpygk8LVDWWlV6olliBfxndeve3THAzgJdXOWg= 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=hHYtuUwZjq+QmuLya9f2QtkHNFc=; b=ayRKhTnSXAVx318VRi87A6Kb6sHm QCoLpanzmz4t0jFIOgUjZlwmtrswZA2KmcR4WHmt8Xb5yAFO/PLCayuG9YZcqjlX Wy0IFpKoAU3G4rPa+IC7tOjjMJRSGYOEctNEMTI0oA2pU90LgT3mPenWb8w8VMds F+Op29CfDZJdmuc= Received: (qmail 25661 invoked by alias); 3 Sep 2017 02:33:56 -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 25646 invoked by uid 89); 3 Sep 2017 02:33:53 -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, URIBL_RED 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: Fix rtld link Date: Sun, 3 Sep 2017 04:33:45 +0200 Message-Id: <20170903023345.24804-1-samuel.thibault@ens-lyon.org> dl-tunables.c now uses __access_noerrno in addition to __access. * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): New function. Reviewed-by: Samuel Thibault --- ChangeLog | 1 + sysdeps/mach/hurd/dl-sysdep.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0567c67675..2e6083b372 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,7 @@ Fix inclusion. * sysdeps/posix/pwritev2.c: Include . * sysdeps/posix/pwritev64v2.c: Include . + * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): New function. 2017-09-01 Joseph Myers diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 6d5c1abf83..2bfa64f02a 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -557,6 +557,12 @@ __access (const char *file, int type) errno = ENOSYS; return -1; } +int weak_function +__access_noerrno (const char *file, int type) +{ + errno = ENOSYS; + return -1; +} pid_t weak_function __getpid (void)