16cd6a6acSopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
26cd6a6acSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
36cd6a6acSopenharmony_ci# you may not use this file except in compliance with the License.
46cd6a6acSopenharmony_ci# You may obtain a copy of the License at
56cd6a6acSopenharmony_ci#
66cd6a6acSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
76cd6a6acSopenharmony_ci#
86cd6a6acSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
96cd6a6acSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
106cd6a6acSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
116cd6a6acSopenharmony_ci# See the License for the specific language governing permissions and
126cd6a6acSopenharmony_ci# limitations under the License.
136cd6a6acSopenharmony_ci
146cd6a6acSopenharmony_ci1.0 {
156cd6a6acSopenharmony_ci  global:
166cd6a6acSopenharmony_ci	"sepol_set_policydb";
176cd6a6acSopenharmony_ci	"sepol_set_sidtab";
186cd6a6acSopenharmony_ci	"policy_file_init";
196cd6a6acSopenharmony_ci	"policydb_init";
206cd6a6acSopenharmony_ci	"policydb_read";
216cd6a6acSopenharmony_ci	"policydb_load_isids";
226cd6a6acSopenharmony_ci	"policydb_optimize";
236cd6a6acSopenharmony_ci	"sepol_module_policydb_to_cil";
246cd6a6acSopenharmony_ci	"sepol_kernel_policydb_to_conf";
256cd6a6acSopenharmony_ci	"policydb_destroy";
266cd6a6acSopenharmony_ci	"sepol_sidtab_destroy";
276cd6a6acSopenharmony_ci	"sepol_transition_sid";
286cd6a6acSopenharmony_ci	"hashtab_search";
296cd6a6acSopenharmony_ci	"sepol_member_sid";
306cd6a6acSopenharmony_ci	"sepol_ibendport_sid";
316cd6a6acSopenharmony_ci	"sepol_load_policy";
326cd6a6acSopenharmony_ci	"sepol_netif_sid";
336cd6a6acSopenharmony_ci	"sepol_sid_to_context";
346cd6a6acSopenharmony_ci	"sepol_fs_sid";
356cd6a6acSopenharmony_ci	"sepol_sidtab_map";
366cd6a6acSopenharmony_ci	"sepol_context_to_sid";
376cd6a6acSopenharmony_ci	"sepol_fs_use";
386cd6a6acSopenharmony_ci	"sepol_get_user_sids";
396cd6a6acSopenharmony_ci	"evaluate_conds";
406cd6a6acSopenharmony_ci	"sepol_ibpkey_sid";
416cd6a6acSopenharmony_ci	"sepol_compute_av_reason_buffer";
426cd6a6acSopenharmony_ci	"sepol_genfs_sid";
436cd6a6acSopenharmony_ci	"sepol_compute_av";
446cd6a6acSopenharmony_ci	"sepol_validate_transition_reason_buffer";
456cd6a6acSopenharmony_ci	"sepol_change_sid";
466cd6a6acSopenharmony_ci	"sepol_node_sid";
476cd6a6acSopenharmony_ci	"sepol_port_sid";
486cd6a6acSopenharmony_ci	"hashtab_map";
496cd6a6acSopenharmony_ci	"sepol_kernel_policydb_to_cil";
506cd6a6acSopenharmony_ci	"policydb_sort_ocontexts";
516cd6a6acSopenharmony_ci	"policydb_write";
526cd6a6acSopenharmony_ci	"policydb_set_target_platform";
536cd6a6acSopenharmony_ci	"link_modules";
546cd6a6acSopenharmony_ci	"expand_module";
556cd6a6acSopenharmony_ci	"symtab_insert";
566cd6a6acSopenharmony_ci	"ebitmap_set_bit";
576cd6a6acSopenharmony_ci	"role_datum_destroy";
586cd6a6acSopenharmony_ci	"role_datum_init";
596cd6a6acSopenharmony_ci	"hashtab_insert";
606cd6a6acSopenharmony_ci	"type_datum_init";
616cd6a6acSopenharmony_ci	"type_datum_destroy";
626cd6a6acSopenharmony_ci	"user_datum_destroy";
636cd6a6acSopenharmony_ci	"user_datum_init";
646cd6a6acSopenharmony_ci	"symtab_init";
656cd6a6acSopenharmony_ci	"hashtab_destroy";
666cd6a6acSopenharmony_ci	"policydb_index_classes";
676cd6a6acSopenharmony_ci	"cond_destroy_bool";
686cd6a6acSopenharmony_ci	"level_datum_init";
696cd6a6acSopenharmony_ci	"ebitmap_destroy";
706cd6a6acSopenharmony_ci	"level_datum_destroy";
716cd6a6acSopenharmony_ci	"cat_datum_init";
726cd6a6acSopenharmony_ci	"cat_datum_destroy";
736cd6a6acSopenharmony_ci	"ebitmap_get_bit";
746cd6a6acSopenharmony_ci	"get_decl_cond_list";
756cd6a6acSopenharmony_ci	"avrule_block_create";
766cd6a6acSopenharmony_ci	"avrule_decl_create";
776cd6a6acSopenharmony_ci	"avrule_block_destroy";
786cd6a6acSopenharmony_ci	"ebitmap_union";
796cd6a6acSopenharmony_ci	"sepol_polcap_getnum";
806cd6a6acSopenharmony_ci	"ebitmap_cpy";
816cd6a6acSopenharmony_ci	"avrule_init";
826cd6a6acSopenharmony_ci	"avrule_destroy";
836cd6a6acSopenharmony_ci	"class_perm_node_init";
846cd6a6acSopenharmony_ci	"ebitmap_or";
856cd6a6acSopenharmony_ci	"type_set_destroy";
866cd6a6acSopenharmony_ci	"type_set_expand";
876cd6a6acSopenharmony_ci	"role_set_init";
886cd6a6acSopenharmony_ci	"type_set_init";
896cd6a6acSopenharmony_ci	"role_set_expand";
906cd6a6acSopenharmony_ci	"role_allow_rule_init";
916cd6a6acSopenharmony_ci	"policydb_filetrans_insert";
926cd6a6acSopenharmony_ci	"filename_trans_rule_init";
936cd6a6acSopenharmony_ci	"type_set_cpy";
946cd6a6acSopenharmony_ci	"constraint_expr_init";
956cd6a6acSopenharmony_ci	"constraint_expr_destroy";
966cd6a6acSopenharmony_ci	"cond_expr_destroy";
976cd6a6acSopenharmony_ci	"cond_normalize_expr";
986cd6a6acSopenharmony_ci	"cond_node_destroy";
996cd6a6acSopenharmony_ci	"mls_semantic_level_cpy";
1006cd6a6acSopenharmony_ci	"mls_semantic_cat_init";
1016cd6a6acSopenharmony_ci	"policydb_index_others";
1026cd6a6acSopenharmony_ci	"policydb_context_isvalid";
1036cd6a6acSopenharmony_ci	"range_trans_rule_init";
1046cd6a6acSopenharmony_ci	"range_trans_rule_destroy";
1056cd6a6acSopenharmony_ci	"policydb_index_bools";
1066cd6a6acSopenharmony_ci	"cil_set_log_level";
1076cd6a6acSopenharmony_ci	"cil_db_init";
1086cd6a6acSopenharmony_ci	"cil_set_disable_dontaudit";
1096cd6a6acSopenharmony_ci	"cil_set_multiple_decls";
1106cd6a6acSopenharmony_ci	"cil_set_disable_neverallow";
1116cd6a6acSopenharmony_ci	"cil_set_preserve_tunables";
1126cd6a6acSopenharmony_ci	"cil_set_qualified_names";
1136cd6a6acSopenharmony_ci	"cil_set_handle_unknown";
1146cd6a6acSopenharmony_ci	"cil_set_mls";
1156cd6a6acSopenharmony_ci	"cil_set_target_platform";
1166cd6a6acSopenharmony_ci	"cil_set_policy_version";
1176cd6a6acSopenharmony_ci	"cil_set_attrs_expand_generated";
1186cd6a6acSopenharmony_ci	"cil_set_attrs_expand_size";
1196cd6a6acSopenharmony_ci	"cil_add_file";
1206cd6a6acSopenharmony_ci	"cil_compile";
1216cd6a6acSopenharmony_ci	"cil_build_policydb";
1226cd6a6acSopenharmony_ci	"sepol_policydb_optimize";
1236cd6a6acSopenharmony_ci	"sepol_policy_file_create";
1246cd6a6acSopenharmony_ci	"sepol_policy_file_set_fp";
1256cd6a6acSopenharmony_ci	"sepol_policydb_write";
1266cd6a6acSopenharmony_ci	"cil_filecons_to_string";
1276cd6a6acSopenharmony_ci	"cil_db_destroy";
1286cd6a6acSopenharmony_ci	"sepol_policydb_free";
1296cd6a6acSopenharmony_ci	"sepol_policy_file_free";
1306cd6a6acSopenharmony_ci	"sepol_set_policydb_from_file";
1316cd6a6acSopenharmony_ci	"sepol_check_context";
1326cd6a6acSopenharmony_ci  local:
1336cd6a6acSopenharmony_ci    *;
1346cd6a6acSopenharmony_ci};
135