diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-06-09 14:38:31 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-09 14:45:05 +0200 |
commit | f28b09f887870c10c8c611beee3c17eaa9ef74f3 (patch) | |
tree | 3264dfcc7258bd2bd6591599fcf193d3820fb58b /src | |
parent | 09641f85aae8fff72d0573394c40c8c3c002179a (diff) | |
download | sssd-f28b09f887870c10c8c611beee3c17eaa9ef74f3.tar.gz sssd-f28b09f887870c10c8c611beee3c17eaa9ef74f3.tar.xz sssd-f28b09f887870c10c8c611beee3c17eaa9ef74f3.zip |
BUILD: Add version symbol files for public libraries.
Version symbol files will help package systems to catch backward compatible
changes (newly added functions) into library.
The difference between libraries libsss_nss_idmap_test.so and
libsss_nss_idmap.so is that the 1st library will not be installed and has more
exported functions, which are necessary for mocking with cmocka for test
sss_nss_idmap-test.
Resolves:
https://fedorahosted.org/sssd/ticket/2194
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/idmap/sss_idmap.exports | 56 | ||||
-rw-r--r-- | src/providers/ipa/ipa_hbac.exports | 15 | ||||
-rw-r--r-- | src/sss_client/idmap/sss_nss_idmap.exports | 14 | ||||
-rw-r--r-- | src/sss_client/idmap/sss_nss_idmap.unit_tests | 6 |
4 files changed, 91 insertions, 0 deletions
diff --git a/src/lib/idmap/sss_idmap.exports b/src/lib/idmap/sss_idmap.exports new file mode 100644 index 000000000..52115636d --- /dev/null +++ b/src/lib/idmap/sss_idmap.exports @@ -0,0 +1,56 @@ +SSS_IDMAP_0.4 { + + # public functions + global: + + sss_idmap_init; + sss_idmap_ctx_set_autorid; + sss_idmap_ctx_set_lower; + sss_idmap_ctx_set_upper; + sss_idmap_ctx_set_rangesize; + sss_idmap_ctx_get_autorid; + sss_idmap_ctx_get_lower; + sss_idmap_ctx_get_upper; + sss_idmap_ctx_get_rangesize; + sss_idmap_calculate_range; + sss_idmap_add_domain; + sss_idmap_add_domain_ex; + sss_idmap_check_collision; + sss_idmap_check_collision_ex; + sss_idmap_sid_to_unix; + sss_idmap_dom_sid_to_unix; + sss_idmap_bin_sid_to_unix; + sss_idmap_smb_sid_to_unix; + sss_idmap_check_sid_unix; + sss_idmap_check_dom_sid_to_unix; + sss_idmap_check_bin_sid_unix; + sss_idmap_check_smb_sid_unix; + sss_idmap_unix_to_sid; + sss_idmap_unix_to_dom_sid; + sss_idmap_unix_to_bin_sid; + sss_idmap_free; + sss_idmap_free_sid; + sss_idmap_free_dom_sid; + sss_idmap_free_smb_sid; + sss_idmap_free_bin_sid; + idmap_error_string; + is_domain_sid; + sss_idmap_domain_has_algorithmic_mapping; + sss_idmap_domain_by_name_has_algorithmic_mapping; + sss_idmap_bin_sid_to_dom_sid; + sss_idmap_bin_sid_to_sid; + sss_idmap_dom_sid_to_bin_sid; + sss_idmap_sid_to_bin_sid; + sss_idmap_dom_sid_to_sid; + sss_idmap_sid_to_dom_sid; + sss_idmap_sid_to_smb_sid; + sss_idmap_smb_sid_to_sid; + sss_idmap_dom_sid_to_smb_sid; + sss_idmap_smb_sid_to_dom_sid; + sss_idmap_bin_sid_to_smb_sid; + sss_idmap_smb_sid_to_bin_sid; + + # everything else is local + local: + *; +}; diff --git a/src/providers/ipa/ipa_hbac.exports b/src/providers/ipa/ipa_hbac.exports new file mode 100644 index 000000000..0115084e2 --- /dev/null +++ b/src/providers/ipa/ipa_hbac.exports @@ -0,0 +1,15 @@ +IPA_HBAC_0.0.1 { + + # public functions + global: + + hbac_evaluate; + hbac_result_string; + hbac_error_string; + hbac_free_info; + hbac_rule_is_complete; + + # everything else is local + local: + *; +}; diff --git a/src/sss_client/idmap/sss_nss_idmap.exports b/src/sss_client/idmap/sss_nss_idmap.exports new file mode 100644 index 000000000..7b8488b2a --- /dev/null +++ b/src/sss_client/idmap/sss_nss_idmap.exports @@ -0,0 +1,14 @@ +SSS_NSS_IDMAP_0.0.1 { + + # public functions + global: + + sss_nss_getsidbyname; + sss_nss_getsidbyid; + sss_nss_getnamebysid; + sss_nss_getidbysid; + + # everything else is local + local: + *; +}; diff --git a/src/sss_client/idmap/sss_nss_idmap.unit_tests b/src/sss_client/idmap/sss_nss_idmap.unit_tests new file mode 100644 index 000000000..361cc3b13 --- /dev/null +++ b/src/sss_client/idmap/sss_nss_idmap.unit_tests @@ -0,0 +1,6 @@ +# version script files can be combined. They needn't be in single file +UNIT_TEST_ONLY { + # should not be part of installed library + global: + sss_nss_make_request; +}; |