summaryrefslogtreecommitdiff
path: root/source3/exports
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-07-03 19:55:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:46 -0500
commit3a246ac46b9ae2bbc62498092a616b87732ab818 (patch)
tree4e7fc8558f19453b5a193def93c585a93c67d8ef /source3/exports
parent6afbd15b673fa9fd307459a61c396c3ea9370158 (diff)
downloadsamba-3a246ac46b9ae2bbc62498092a616b87732ab818.tar.gz
r23689: Squashed commit of the following:
commit 0d4bbd197198a94bf4e29e0ccd175a40a60097f3 Author: Gerald (Jerry) Carter <jerry@samba.org> 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 <jcristau@debian.org> and suggestions from James Peach <jpeach@samba.org>. Currently the libsmbsharemodes libraries still exports *. Signed off on my Derrell as well. (This used to be commit c42cf731b4b259c5c1a874fd1837ca85144f1a58)
Diffstat (limited to 'source3/exports')
-rw-r--r--source3/exports/libsmbclient.syms4
-rw-r--r--source3/exports/libsmbsharemodes.syms3
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/exports/libsmbclient.syms b/source3/exports/libsmbclient.syms
new file mode 100644
index 00000000000..3062e34bfdb
--- /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 00000000000..eb34bfc012a
--- /dev/null
+++ b/source3/exports/libsmbsharemodes.syms
@@ -0,0 +1,3 @@
+{
+ global: *;
+};