From 3a246ac46b9ae2bbc62498092a616b87732ab818 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 3 Jul 2007 19:55:02 +0000 Subject: r23689: Squashed commit of the following: commit 0d4bbd197198a94bf4e29e0ccd175a40a60097f3 Author: Gerald (Jerry) Carter Date: Mon Jul 2 20:08:19 2007 -0500 Introduce GNU ld linker export-script for hiding non-public symbols in shared libraries. Based on initial patch from Julien Cristau and suggestions from James Peach . Currently the libsmbsharemodes libraries still exports *. Signed off on my Derrell as well. (This used to be commit c42cf731b4b259c5c1a874fd1837ca85144f1a58) --- source3/exports/libsmbclient.syms | 4 ++++ source3/exports/libsmbsharemodes.syms | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 source3/exports/libsmbclient.syms create mode 100644 source3/exports/libsmbsharemodes.syms (limited to 'source3/exports') diff --git a/source3/exports/libsmbclient.syms b/source3/exports/libsmbclient.syms new file mode 100644 index 0000000000..3062e34bfd --- /dev/null +++ b/source3/exports/libsmbclient.syms @@ -0,0 +1,4 @@ +{ + global: smbc_*; + local: *; +}; diff --git a/source3/exports/libsmbsharemodes.syms b/source3/exports/libsmbsharemodes.syms new file mode 100644 index 0000000000..eb34bfc012 --- /dev/null +++ b/source3/exports/libsmbsharemodes.syms @@ -0,0 +1,3 @@ +{ + global: *; +}; -- cgit