Home
last modified time | relevance | path

Searched refs:SH_TRANS (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libsemanage/tests/
Dtest_bool.c239 helper_bool_key_create(SH_TRANS); in test_bool_key_create()
292 helper_bool_key_extract(SH_TRANS, SK_INDEX); in test_bool_key_extract()
331 helper_bool_compare(SH_TRANS, I_FIRST, I_FIRST); in test_bool_compare()
332 helper_bool_compare(SH_TRANS, I_FIRST, I_SECOND); in test_bool_compare()
333 helper_bool_compare(SH_TRANS, I_SECOND, I_FIRST); in test_bool_compare()
334 helper_bool_compare(SH_TRANS, I_SECOND, I_SECOND); in test_bool_compare()
369 helper_bool_compare2(SH_TRANS, I_FIRST, I_FIRST); in test_bool_compare2()
370 helper_bool_compare2(SH_TRANS, I_FIRST, I_SECOND); in test_bool_compare2()
371 helper_bool_compare2(SH_TRANS, I_SECOND, I_FIRST); in test_bool_compare2()
372 helper_bool_compare2(SH_TRANS, I_SECOND, I_SECOND); in test_bool_compare2()
[all …]
Dtest_fcontext.c491 helper_fcontext_get_set_con(SH_TRANS, I_FIRST, NULL); in test_fcontext_get_set_con()
492 helper_fcontext_get_set_con(SH_TRANS, I_FIRST, in test_fcontext_get_set_con()
494 helper_fcontext_get_set_con(SH_TRANS, I_SECOND, in test_fcontext_get_set_con()
523 helper_fcontext_create(SH_TRANS); in test_fcontext_create()
567 helper_fcontext_clone(SH_TRANS, I_FIRST); in test_fcontext_clone()
568 helper_fcontext_clone(SH_TRANS, I_SECOND); in test_fcontext_clone()
606 helper_fcontext_query(SH_TRANS, FCONTEXT_NONEXISTENT_EXPR, in test_fcontext_query()
608 helper_fcontext_query(SH_TRANS, FCONTEXT2_EXPR, FCONTEXT1_TYPE, -1); in test_fcontext_query()
609 helper_fcontext_query(SH_TRANS, FCONTEXT1_EXPR, FCONTEXT1_TYPE, 1); in test_fcontext_query()
610 helper_fcontext_query(SH_TRANS, FCONTEXT2_EXPR, FCONTEXT2_TYPE, 1); in test_fcontext_query()
[all …]
Dtest_port.c583 setup_handle(SH_TRANS); in test_port_modify_del_local()
603 cleanup_handle(SH_TRANS); in test_port_modify_del_local()
616 setup_handle(SH_TRANS); in test_port_query_local()
638 cleanup_handle(SH_TRANS); in test_port_query_local()
649 setup_handle(SH_TRANS); in test_port_exists_local()
664 cleanup_handle(SH_TRANS); in test_port_exists_local()
673 setup_handle(SH_TRANS); in test_port_count_local()
696 cleanup_handle(SH_TRANS); in test_port_count_local()
711 setup_handle(SH_TRANS); in test_port_iterate_local()
724 cleanup_handle(SH_TRANS); in test_port_iterate_local()
[all …]
Dtest_ibendport.c344 setup_handle(SH_TRANS); in test_ibendport_modify_del_query_local()
366 cleanup_handle(SH_TRANS); in test_ibendport_modify_del_query_local()
377 setup_handle(SH_TRANS); in test_ibendport_exists_local()
393 cleanup_handle(SH_TRANS); in test_ibendport_exists_local()
402 setup_handle(SH_TRANS); in test_ibendport_count_local()
425 cleanup_handle(SH_TRANS); in test_ibendport_count_local()
458 setup_handle(SH_TRANS); in test_ibendport_iterate_local()
484 cleanup_handle(SH_TRANS); in test_ibendport_iterate_local()
496 setup_handle(SH_TRANS); in test_ibendport_list_local()
524 cleanup_handle(SH_TRANS); in test_ibendport_list_local()
Dtest_user.c562 setup_handle(SH_TRANS); in test_user_modify_del_query_local()
581 cleanup_handle(SH_TRANS); in test_user_modify_del_query_local()
593 setup_handle(SH_TRANS); in test_user_exists_local()
610 cleanup_handle(SH_TRANS); in test_user_exists_local()
619 setup_handle(SH_TRANS); in test_user_count_local()
632 cleanup_handle(SH_TRANS); in test_user_count_local()
647 setup_handle(SH_TRANS); in test_user_iterate_local()
660 cleanup_handle(SH_TRANS); in test_user_iterate_local()
670 setup_handle(SH_TRANS); in test_user_list_local()
689 cleanup_handle(SH_TRANS); in test_user_list_local()
Dtest_iface.c530 setup_handle(SH_TRANS); in test_iface_modify_del_query_local()
550 cleanup_handle(SH_TRANS); in test_iface_modify_del_query_local()
561 setup_handle(SH_TRANS); in test_iface_exists_local()
576 cleanup_handle(SH_TRANS); in test_iface_exists_local()
585 setup_handle(SH_TRANS); in test_iface_count_local()
608 cleanup_handle(SH_TRANS); in test_iface_count_local()
623 setup_handle(SH_TRANS); in test_iface_iterate_local()
636 cleanup_handle(SH_TRANS); in test_iface_iterate_local()
646 setup_handle(SH_TRANS); in test_iface_list_local()
665 cleanup_handle(SH_TRANS); in test_iface_list_local()
Dtest_node.c657 setup_handle(SH_TRANS); in test_node_modify_del_query_local()
691 cleanup_handle(SH_TRANS); in test_node_modify_del_query_local()
702 setup_handle(SH_TRANS); in test_node_exists_local()
717 cleanup_handle(SH_TRANS); in test_node_exists_local()
726 setup_handle(SH_TRANS); in test_node_count_local()
749 cleanup_handle(SH_TRANS); in test_node_count_local()
764 setup_handle(SH_TRANS); in test_node_iterate_local()
777 cleanup_handle(SH_TRANS); in test_node_iterate_local()
787 setup_handle(SH_TRANS); in test_node_list_local()
806 cleanup_handle(SH_TRANS); in test_node_list_local()
Dutilities.c248 if (level >= SH_TRANS) in setup_handle()
253 if (level >= SH_TRANS) in cleanup_handle()
276 if (level >= SH_TRANS) in setup_handle_invalid_store()
Dutilities.h75 typedef enum { SH_NULL, SH_HANDLE, SH_CONNECT, SH_TRANS } level_t; enumerator
Dtest_handle.c166 cleanup_handle(SH_TRANS); in test_is_connected()