Home
last modified time | relevance | path

Searched refs:semanage_context_from_string (Results 1 – 16 of 16) sorted by relevance

/aosp_15_r20/external/selinux/libsemanage/tests/
H A Dtest_iface.c315 CU_ASSERT(semanage_context_from_string(sh, in test_iface_get_set_ifcon()
339 CU_ASSERT(semanage_context_from_string(sh, in test_iface_get_set_msgcon()
366 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:type_t:s0", in test_iface_create()
369 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:type_t:s0", in test_iface_create()
394 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:if_type_t:s0", in test_iface_clone()
397 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:msg_type_t:s0", in test_iface_clone()
H A Dtest_port.c448 semanage_context_from_string(sh, "user_u:role_r:type_t:s0", &con); in test_port_clone()
600 semanage_context_from_string(sh, "user_u:role_r:type_t:s0", &con); in test_port_modify_del_local()
839 CU_ASSERT(semanage_context_from_string(sh, in helper_port_validate_local_twoports()
841 CU_ASSERT(semanage_context_from_string(sh, in helper_port_validate_local_twoports()
H A Dtest_node.c445 CU_ASSERT(semanage_context_from_string(sh, in test_node_get_set_con()
475 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:type_t:s0", in test_node_create()
505 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:type_t:s0", in test_node_clone()
H A Dtest_other.c87 CU_ASSERT(semanage_context_from_string(sh, "my_u:my_r:my_t:s0", in test_semanage_context()
H A Dtest_fcontext.c442 CU_ASSERT(semanage_context_from_string(sh, con_str, &con) >= 0); in helper_fcontext_get_set_con()
767 CU_ASSERT(semanage_context_from_string(sh, con_str, &con) >= 0); in helper_fcontext_modify_del_local()
/aosp_15_r20/external/selinux/libsemanage/src/
H A Dinterfaces_file.c87 if (semanage_context_from_string(handle, str, &con) < 0) { in iface_parse()
111 if (semanage_context_from_string(handle, str, &con) < 0) { in iface_parse()
H A Dcontext_record.c93 int semanage_context_from_string(semanage_handle_t * handle, in semanage_context_from_string() function
H A Dibendports_file.c97 if (semanage_context_from_string(handle, str, &con) < 0) { in ibendport_parse()
H A Dfcontexts_file.c131 if (semanage_context_from_string(handle, str, &con) < 0) { in fcontext_parse()
H A Dibpkeys_file.c120 if (semanage_context_from_string(handle, str, &con) < 0) { in ibpkey_parse()
H A Dports_file.c128 if (semanage_context_from_string(handle, str, &con) < 0) { in port_parse()
H A Dnodes_file.c121 if (semanage_context_from_string(handle, str, &con) < 0) { in node_parse()
H A Dlibsemanage.map40 semanage_context_from_string;
H A Dsemanageswig_python_exception.i674 %exception semanage_context_from_string {
/aosp_15_r20/external/selinux/libsemanage/include/semanage/
H A Dcontext_record.h53 extern int semanage_context_from_string(semanage_handle_t * handle,
/aosp_15_r20/external/selinux/libsemanage/example/
H A Dtest_fcontext.c51 if (semanage_context_from_string(sh, argv[1], &con)) { in main()