From patchwork Wed Apr 29 22:06:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 466318 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 2D653140308 for ; Thu, 30 Apr 2015 08:06:55 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=sourceware.org header.i=@sourceware.org header.b=L/OhuRsC; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; q= dns; s=default; b=r5qW0JalkBeqLq5eX5C0j3Euo8nla3LLzoDcCOjQCRVP8s VNXp7P40MZVJ4ICqSrfCr77+u7TzwoEZ6Wu7QJKNoOAfB1wobSnhFwL/YUDxnPcv GX7W2Vp4Y1YdcK+36a6yM7ltmmY8UmQNkHg/SMEFnMjaPY59YLhyxeThsghLU= 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:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; s= default; bh=1W2bCGaBi3JP+OGyLpKcq/FLcbo=; b=L/OhuRsCku0iiYmYpFBU kJQVESsineh3ESlvIs7lL6mAOjc4w0SkFzj6BypEXhLefO8HJHXJzt5uPnGEnxbk BbqYTtoH+vjx6LFPE4KCUNPwmTpiLQy/tBt3q+hfe/6+eQqkTya9Zcckd70GaFOd Xj9vTD6tWZkb7a5fn9L7l70= Received: (qmail 123809 invoked by alias); 29 Apr 2015 22:06:50 -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 123799 invoked by uid 89); 29 Apr 2015 22:06:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] NaCl: Fix symbol names for euidaccess. Message-Id: <20150429220646.584B32C3B98@topped-with-meat.com> Date: Wed, 29 Apr 2015 15:06:46 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=SvUDtp+0 c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=fnX0y7Fi6xKtZg_SbUoA:9 a=CjuIK1q_8ugA:10 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess. (euidaccess, eaccess): Define as weak aliases. diff --git a/sysdeps/nacl/euidaccess.c b/sysdeps/nacl/euidaccess.c index 036e736..50cbcfb 100644 --- a/sysdeps/nacl/euidaccess.c +++ b/sysdeps/nacl/euidaccess.c @@ -20,8 +20,10 @@ /* Test for access to FILE. */ int -euidaccess (const char *file, int type) +__euidaccess (const char *file, int type) { /* No NaCl process will ever be set-ID, so access and euidaccess are one. */ return __access (file, type); } +weak_alias (__euidaccess, euidaccess) +weak_alias (__euidaccess, eaccess)