diff options
author | Simo Sorce <ssorce@redhat.com> | 2011-07-05 22:39:23 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2012-01-11 12:04:12 -0500 |
commit | 9883e495486fc3739e0db9b8d23ff8a40b91caf1 (patch) | |
tree | 98aa0b5bb4783729c6490f781ff1e1d7120688a6 /daemons | |
parent | 80b5d346cd0304a4f26a04734e50c357fbb04b2b (diff) | |
download | freeipa.git-9883e495486fc3739e0db9b8d23ff8a40b91caf1.tar.gz freeipa.git-9883e495486fc3739e0db9b8d23ff8a40b91caf1.tar.xz freeipa.git-9883e495486fc3739e0db9b8d23ff8a40b91caf1.zip |
ipa-kdb: add exports file
limit exported symbols only to the ones actually needed by krb5kdc
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/ipa-kdb/Makefile.am | 5 | ||||
-rw-r--r-- | daemons/ipa-kdb/ipa_kdb.exports | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/daemons/ipa-kdb/Makefile.am b/daemons/ipa-kdb/Makefile.am index 1368da86..30076241 100644 --- a/daemons/ipa-kdb/Makefile.am +++ b/daemons/ipa-kdb/Makefile.am @@ -26,7 +26,8 @@ ipadb_la_SOURCES = \ ipadb_la_LDFLAGS = \ -avoid-version \ - -module + -module \ + -Wl,--version-script,$(srcdir)/ipa_kdb.exports ipadb_la_LIBADD = \ $(KRB5_LIBS) \ @@ -34,6 +35,8 @@ ipadb_la_LIBADD = \ $(LDAP_LIBS) \ $(NULL) +dist_noinst_DATA = ipa_kdb.exports + EXTRA_DIST = \ README \ $(NULL) diff --git a/daemons/ipa-kdb/ipa_kdb.exports b/daemons/ipa-kdb/ipa_kdb.exports new file mode 100644 index 00000000..d2c3f302 --- /dev/null +++ b/daemons/ipa-kdb/ipa_kdb.exports @@ -0,0 +1,10 @@ +EXPORTED { + + # public symbols + global: + kdb_function_table; + + # everything else is local + local: + *; +}; |