1# Copyright (c) 2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 141.0 { 15 global: 16 "sepol_set_policydb"; 17 "sepol_set_sidtab"; 18 "policy_file_init"; 19 "policydb_init"; 20 "policydb_read"; 21 "policydb_load_isids"; 22 "policydb_optimize"; 23 "sepol_module_policydb_to_cil"; 24 "sepol_kernel_policydb_to_conf"; 25 "policydb_destroy"; 26 "sepol_sidtab_destroy"; 27 "sepol_transition_sid"; 28 "hashtab_search"; 29 "sepol_member_sid"; 30 "sepol_ibendport_sid"; 31 "sepol_load_policy"; 32 "sepol_netif_sid"; 33 "sepol_sid_to_context"; 34 "sepol_fs_sid"; 35 "sepol_sidtab_map"; 36 "sepol_context_to_sid"; 37 "sepol_fs_use"; 38 "sepol_get_user_sids"; 39 "evaluate_conds"; 40 "sepol_ibpkey_sid"; 41 "sepol_compute_av_reason_buffer"; 42 "sepol_genfs_sid"; 43 "sepol_compute_av"; 44 "sepol_validate_transition_reason_buffer"; 45 "sepol_change_sid"; 46 "sepol_node_sid"; 47 "sepol_port_sid"; 48 "hashtab_map"; 49 "sepol_kernel_policydb_to_cil"; 50 "policydb_sort_ocontexts"; 51 "policydb_write"; 52 "policydb_set_target_platform"; 53 "link_modules"; 54 "expand_module"; 55 "symtab_insert"; 56 "ebitmap_set_bit"; 57 "role_datum_destroy"; 58 "role_datum_init"; 59 "hashtab_insert"; 60 "type_datum_init"; 61 "type_datum_destroy"; 62 "user_datum_destroy"; 63 "user_datum_init"; 64 "symtab_init"; 65 "hashtab_destroy"; 66 "policydb_index_classes"; 67 "cond_destroy_bool"; 68 "level_datum_init"; 69 "ebitmap_destroy"; 70 "level_datum_destroy"; 71 "cat_datum_init"; 72 "cat_datum_destroy"; 73 "ebitmap_get_bit"; 74 "get_decl_cond_list"; 75 "avrule_block_create"; 76 "avrule_decl_create"; 77 "avrule_block_destroy"; 78 "ebitmap_union"; 79 "sepol_polcap_getnum"; 80 "ebitmap_cpy"; 81 "avrule_init"; 82 "avrule_destroy"; 83 "class_perm_node_init"; 84 "ebitmap_or"; 85 "type_set_destroy"; 86 "type_set_expand"; 87 "role_set_init"; 88 "type_set_init"; 89 "role_set_expand"; 90 "role_allow_rule_init"; 91 "policydb_filetrans_insert"; 92 "filename_trans_rule_init"; 93 "type_set_cpy"; 94 "constraint_expr_init"; 95 "constraint_expr_destroy"; 96 "cond_expr_destroy"; 97 "cond_normalize_expr"; 98 "cond_node_destroy"; 99 "mls_semantic_level_cpy"; 100 "mls_semantic_cat_init"; 101 "policydb_index_others"; 102 "policydb_context_isvalid"; 103 "range_trans_rule_init"; 104 "range_trans_rule_destroy"; 105 "policydb_index_bools"; 106 "cil_set_log_level"; 107 "cil_db_init"; 108 "cil_set_disable_dontaudit"; 109 "cil_set_multiple_decls"; 110 "cil_set_disable_neverallow"; 111 "cil_set_preserve_tunables"; 112 "cil_set_qualified_names"; 113 "cil_set_handle_unknown"; 114 "cil_set_mls"; 115 "cil_set_target_platform"; 116 "cil_set_policy_version"; 117 "cil_set_attrs_expand_generated"; 118 "cil_set_attrs_expand_size"; 119 "cil_add_file"; 120 "cil_compile"; 121 "cil_build_policydb"; 122 "sepol_policydb_optimize"; 123 "sepol_policy_file_create"; 124 "sepol_policy_file_set_fp"; 125 "sepol_policydb_write"; 126 "cil_filecons_to_string"; 127 "cil_db_destroy"; 128 "sepol_policydb_free"; 129 "sepol_policy_file_free"; 130 "sepol_set_policydb_from_file"; 131 "sepol_check_context"; 132 local: 133 *; 134}; 135