From patchwork Wed Aug 2 21:34:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 796890 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-82639-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="BFpnkztJ"; 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 3xN60H5wrhz9rxl for ; Thu, 3 Aug 2017 07:34:39 +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:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=tGgB3Vy9puLxBod4xzE6iyatehFi4 Z+UgilFgvshVmnTPS3tj6sIDnxet1NjopFk5HDuGSGSV/wGq5jDD/Y7BnH2xaHsO TFtGMZniLuFJ775WOXiC2yxntSPdDYhciqk/LFtjZbJF3PdfcFCgGhQ4HRLchC72 J0zeXi0PH9IfaA= 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:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=kcHF2/ax5DKSs+p6rF7QshAfvSU=; b=BFp nkztJdrEB5xL7oDJvi091EIbeoDhWfSfuQDnhULQwvVV2/S0LQNmmX8+0yeu4TVV DODeOdrHdx6GFcqrJgyg3s7jEYv1EMsgGl7mhOpPoq0ukpqZ1sL/SFTQ/WOsdyBd XCRKEVjoQvtWUxijloW4+IidyqPLV+s++CGhAuAc= Received: (qmail 36818 invoked by alias); 2 Aug 2017 21:34:32 -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 36804 invoked by uid 89); 2 Aug 2017 21:34:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: sonata.ens-lyon.org Date: Wed, 2 Aug 2017 23:34:27 +0200 From: Samuel Thibault To: libc-alpha@sourceware.org Subject: [commited,hurd] Add __libc_init_secure stub Message-ID: <20170802213427.xpjmw22rt63pf4xn@var.youpi.perso.aquilenet.fr> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) csu/libc-start.c now insists on calling __libc_init_secure, while the Hurd port already implements it "very early" in dl-sysdep.c and init-first.c * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define function. diff --git a/sysdeps/mach/hurd/enbl-secure.c b/sysdeps/mach/hurd/enbl-secure.c index 9aeb0fafa6..87a8f93013 100644 --- a/sysdeps/mach/hurd/enbl-secure.c +++ b/sysdeps/mach/hurd/enbl-secure.c @@ -21,3 +21,10 @@ In the shared library, the `__libc_enable_secure' variable is defined by the dynamic linker in dl-sysdep.c and set there. In the static library, it is defined in init-first.c and set there. */ + +#include + +void +__libc_init_secure (void) +{ +}