All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] rpc.idmap: Hide global symbols from libidmap plugins
@ 2012-03-15 16:57 Steve Dickson
  2012-03-16 13:55 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Dickson @ 2012-03-15 16:57 UTC (permalink / raw)
  To: Linux NFS Mailing list

From: Noah Friedman <friedman@splode.com>

This patch limits the visibility of the symbols in the nfs-utils
conffile.c so that they are only visible to programs linked directly to
it.  This forces the objects dynamically loaded via libnfsidmap to use
the functions defined in that shared library instead.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/nfs/conffile.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/support/nfs/conffile.c b/support/nfs/conffile.c
index 2f1e235..5015e94 100644
--- a/support/nfs/conffile.c
+++ b/support/nfs/conffile.c
@@ -49,6 +49,8 @@
 #include "conffile.h"
 #include "xlog.h"
 
+#pragma GCC visibility push(hidden)
+
 static void conf_load_defaults(void);
 static int conf_set(int , char *, char *, char *, 
 	char *, int , int );
-- 
1.7.7.6


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

end of thread, other threads:[~2012-03-16 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 16:57 [PATCH 1/1] rpc.idmap: Hide global symbols from libidmap plugins Steve Dickson
2012-03-16 13:55 ` Steve Dickson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.