Home
last modified time | relevance | path

Searched refs:con_clone (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsemanage/tests/
Dtest_other.c61 semanage_context_t *con_clone = NULL; in test_semanage_context() local
91 CU_ASSERT(semanage_context_clone(sh, con, &con_clone) >= 0); in test_semanage_context()
92 CU_ASSERT_STRING_EQUAL(semanage_context_get_user(con_clone), "my_u"); in test_semanage_context()
93 CU_ASSERT_STRING_EQUAL(semanage_context_get_role(con_clone), "my_r"); in test_semanage_context()
94 CU_ASSERT_STRING_EQUAL(semanage_context_get_type(con_clone), "my_t"); in test_semanage_context()
95 CU_ASSERT_STRING_EQUAL(semanage_context_get_mls(con_clone), "s0"); in test_semanage_context()
99 semanage_context_free(con_clone); in test_semanage_context()
Dtest_fcontext.c536 semanage_context_t *con_clone; in helper_fcontext_clone() local
554 con_clone = semanage_fcontext_get_con(fcontext_clone); in helper_fcontext_clone()
555 CU_ASSERT_CONTEXT_EQUAL(con, con_clone); in helper_fcontext_clone()