From patchwork Thu Apr 25 19:42:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1091063 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-101615-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="ScxkFl1T"; 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 44qnfG0cTgz9s3q for ; Fri, 26 Apr 2019 05:43:01 +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:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=ar/nL1tYeIu1i7h6YbGxcVKj4ulge JFSbiJW7RaVyurC8rfMTI6YAn7qILxzpMTI7uc/Pe8CPmTKrVJZRD/DRg8iDxOy0 yhm16GdtWBtAwqz7Gc3+1lSyJcsVhNjYzkah1BuhWS/cJxOKN79qFaQj1TOk/cL6 NtSxIahQ9qzJ6k= 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:subject:date:message-id:mime-version :content-type; s=default; bh=DVUex0giJgyfHcCnSrZeLwbaTg0=; b=Scx kFl1TCOYJNA2+OE/KfYnh4Vu51N93+FAwmO6TKdGxQKLGIX0pdmvsGfYE7MZZ4t5 4M5ozqHQ7j2wrMizv4uDOMHlS31hBcORoh7ke4TDKC/WUZTVXNGKLu0Y3sZW6hbR 7c5z39TVuisRGPTuDlMD6soDBTyPR6IYtNcHnBSA= Received: (qmail 57908 invoked by alias); 25 Apr 2019 19:42: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 57900 invoked by uid 89); 25 Apr 2019 19:42:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=audit, HX-Languages-Length:918 X-HELO: mx1.redhat.com From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH] elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now Date: Thu, 25 Apr 2019 21:42:51 +0200 Message-ID: <87wojhan2c.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 The audit module itself can be linked with BIND_NOW; it does not affect its functionality. This should complete the leftovers from commit 2d6ab5df3b675e96ee587ae6a8c2ce004c6b1ba9 ("Document and fix --enable-bind-now [BZ #21015]"). 2019-04-25 Florian Weimer elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now. * elf/Makefile (LDFLAGS-sotruss-lib.so): Set. Reviewed-by: Carlos O'Donell diff --git a/elf/Makefile b/elf/Makefile index 0b4a877880..4895489208 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -125,6 +125,7 @@ install-others += $(inst_auditdir)/sotruss-lib.so install-bin-script += sotruss generated += sotruss libof-sotruss-lib = extramodules +LDFLAGS-sotruss-lib.so += $(z-now-$(bind-now)) $(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os $(build-module-asneeded) $(objpfx)sotruss-lib.so: $(common-objpfx)libc.so $(objpfx)ld.so \