From patchwork Tue Nov 4 16:25:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Dickson X-Patchwork-Id: 5229411 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3C28F9F3EE for ; Tue, 4 Nov 2014 16:25:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 660BF20122 for ; Tue, 4 Nov 2014 16:25:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 14E9520115 for ; Tue, 4 Nov 2014 16:25:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754505AbaKDQZH (ORCPT ); Tue, 4 Nov 2014 11:25:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41422 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751553AbaKDQZG (ORCPT ); Tue, 4 Nov 2014 11:25:06 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sA4GP6Gr019714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 4 Nov 2014 11:25:06 -0500 Received: from smallhat.boston.devel.redhat.com (smallhat.boston.devel.redhat.com [10.19.60.65]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sA4GP6VS030736 for ; Tue, 4 Nov 2014 11:25:06 -0500 From: Steve Dickson To: Linux NFS Mailing list Subject: [PATCH] build: Revert using a symbol version map Date: Tue, 4 Nov 2014 11:25:04 -0500 Message-Id: <1415118304-5696-1-git-send-email-steved@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit 045d2e46 cause a number of systems to be undefined during run time in rpc.idmapd. Having this type of versioning is not necessary in this type of a library so the patch was reverted. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1159943 Signed-off-by: Steve Dickson --- Makefile.am | 3 +-- nfsidmap.map | 31 ------------------------------- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 nfsidmap.map diff --git a/Makefile.am b/Makefile.am index 69bbcbc..85f19c8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,9 +26,8 @@ pkglib_LTLIBRARIES = nsswitch.la static.la $(UMICH_LDAP_LIB) $(GUMS_MAPPING_LIB) # by this library. libnfsidmap_la_SOURCES = libnfsidmap.c cfg.c strlcpy.c cfg.h nfsidmap_internal.h queue.h -libnfsidmap_la_LDFLAGS = -version-info 3:0:3 -Wl,--version-script=$(srcdir)/nfsidmap.map +libnfsidmap_la_LDFLAGS = -version-info 3:0:3 libnfsidmap_la_LIBADD = -ldl -libnfsidmap_la_DEPENDENCIES = nfsidmap.map nsswitch_la_SOURCES = nss.c nsswitch_la_LDFLAGS = -module -avoid-version diff --git a/nfsidmap.map b/nfsidmap.map deleted file mode 100644 index 1e7cf7e..0000000 --- a/nfsidmap.map +++ /dev/null @@ -1,31 +0,0 @@ -V_0.26 { -global: - nfs4_init_name_mapping; - nfs4_get_default_domain; - nfs4_uid_to_name; - nfs4_gid_to_name; - nfs4_uid_to_owner; - nfs4_gid_to_group_owner; - nfs4_name_to_uid; - nfs4_name_to_gid; - nfs4_owner_to_uid; - nfs4_owner_to_gid; - nfs4_group_owner_to_gid; - nfs4_gss_princ_to_ids; - nfs4_gss_princ_to_grouplist; - nfs4_gss_princ_to_ids_ex; - nfs4_gss_princ_to_grouplist_ex; - nfs4_set_debug; - idmap_verbosity; - idmap_log_func; - get_default_domain; - get_local_realms; -local: - *; -}; -/* -V_0.27 { -global: - ... -} V_0.26; -*/