public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] build: Revert using a symbol version map
@ 2014-11-04 16:25 Steve Dickson
  2014-11-04 20:23 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Dickson @ 2014-11-04 16:25 UTC (permalink / raw)
  To: Linux NFS Mailing list

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 <steved@redhat.com>
---
 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;
-*/
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] build: Revert using a symbol version map
  2014-11-04 16:25 [PATCH] build: Revert using a symbol version map Steve Dickson
@ 2014-11-04 20:23 ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2014-11-04 20:23 UTC (permalink / raw)
  To: Linux NFS Mailing list



On 11/04/2014 11:25 AM, Steve Dickson wrote:
> 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 <steved@redhat.com>
Committed...

steved.

> ---
>  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;
> -*/
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-04 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-04 16:25 [PATCH] build: Revert using a symbol version map Steve Dickson
2014-11-04 20:23 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox