From patchwork Wed Oct 5 17:00:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Smalley X-Patchwork-Id: 9363251 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 336266075E for ; Wed, 5 Oct 2016 16:59:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21DF4286B4 for ; Wed, 5 Oct 2016 16:59:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 154DB28CBF; Wed, 5 Oct 2016 16:59:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (emsm-gh1-uea11.nsa.gov [8.44.101.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 88B61286B4 for ; Wed, 5 Oct 2016 16:59:51 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,449,1473120000"; d="scan'208";a="19831521" IronPort-PHdr: =?us-ascii?q?9a23=3A8hMl3R9l4bKP/v9uRHKM819IXTAuvvDOBiVQ1KB9?= =?us-ascii?q?1OgcTK2v8tzYMVDF4r011RmSDN+dsKoP0rKO+4nbGkU4qa6bt34DdJEeHzQksu?= =?us-ascii?q?4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2WVTerzWI4CIIHV2nbEwu?= =?us-ascii?q?d76zQdaZ1pzvn8mJuLTrKz1SgzS8Zb4gZD6Xli728vcsvI15N6wqwQHIqHYbM8?= =?us-ascii?q?5fxGdvOE7B102kvpT4wYRnuxh0l7phspQYEPayQ6NtVrFcDTI7I0gp9cbrsl/F?= =?us-ascii?q?VgLJ6XwCFi0UmwFPBSDd4Qv0X5HwtS28ve14iweAOsijdqw5QTSv6e9QTRbsjC?= =?us-ascii?q?oWf2oi/Hr/lt17jKUdpgmo4RN43diHM8muKPNic/aFLpshTm1bU5MUDXRM?= X-IPAS-Result: =?us-ascii?q?A2GzBwDrMPVX/wHyM5BdGgEBAQECAQEBAQgBAQEBFwEBBAE?= =?us-ascii?q?BCgEBgxIBAQEBAR5XfKJyAxUBAQEBAQEGgRYBgWQWAY9ehFMlA4d2TAEBAQEBA?= =?us-ascii?q?QEBAgECWyeCMgQDEwUbMwEBAQEBAQEBAUwxRAI3FCALAwMJAhcpCAgDAS0VGAc?= =?us-ascii?q?LBRgEiC26IAElhXKGbYJLEQGFXR0FmXqGJ4lQAoI6h0OFcgKQcVQ/BQeEdVaGF?= =?us-ascii?q?niBKAEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 05 Oct 2016 16:59:45 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id u95Gwrij018134; Wed, 5 Oct 2016 12:59:04 -0400 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id u95Gwp3f165802 for ; Wed, 5 Oct 2016 12:58:51 -0400 Received: from moss-pluto.infosec.tycho.ncsc.mil (moss-pluto [192.168.25.131]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id u95Gwox6018126; Wed, 5 Oct 2016 12:58:50 -0400 From: Stephen Smalley To: selinux@tycho.nsa.gov, jason@perfinion.com Subject: [PATCH] libsepol, libsemanage: fix linker scripts / map files Date: Wed, 5 Oct 2016 13:00:59 -0400 Message-Id: <1475686859-11735-1-git-send-email-sds@tycho.nsa.gov> X-Mailer: git-send-email 2.7.4 X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Cc: Stephen Smalley MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP The local: * entry should only be in the base entry, not in each of them. This is part of resolving gold linker build failures reported by Jason Zaman. Reported-by: Jason Zaman Signed-off-by: Stephen Smalley --- libsemanage/src/libsemanage.map | 1 - libsepol/src/libsepol.map.in | 1 - 2 files changed, 2 deletions(-) diff --git a/libsemanage/src/libsemanage.map b/libsemanage/src/libsemanage.map index 34b553d..9f8a754 100644 --- a/libsemanage/src/libsemanage.map +++ b/libsemanage/src/libsemanage.map @@ -60,5 +60,4 @@ LIBSEMANAGE_1.1 { semanage_module_upgrade_info; semanage_module_remove_key; semanage_set_store_root; - local: *; } LIBSEMANAGE_1.0; diff --git a/libsepol/src/libsepol.map.in b/libsepol/src/libsepol.map.in index 0a46b09..9683caf 100644 --- a/libsepol/src/libsepol.map.in +++ b/libsepol/src/libsepol.map.in @@ -48,5 +48,4 @@ LIBSEPOL_1.1 { sepol_ppfile_to_module_package; sepol_module_package_to_cil; sepol_module_policydb_to_cil; - local: *; } LIBSEPOL_1.0;