Searched refs:semanage_context_from_string (Results 1 – 16 of 16) sorted by relevance
/aosp_15_r20/external/selinux/libsemanage/tests/ |
H A D | test_iface.c | 315 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 D | test_port.c | 448 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 D | test_node.c | 445 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 D | test_other.c | 87 CU_ASSERT(semanage_context_from_string(sh, "my_u:my_r:my_t:s0", in test_semanage_context()
|
H A D | test_fcontext.c | 442 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 D | interfaces_file.c | 87 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 D | context_record.c | 93 int semanage_context_from_string(semanage_handle_t * handle, in semanage_context_from_string() function
|
H A D | ibendports_file.c | 97 if (semanage_context_from_string(handle, str, &con) < 0) { in ibendport_parse()
|
H A D | fcontexts_file.c | 131 if (semanage_context_from_string(handle, str, &con) < 0) { in fcontext_parse()
|
H A D | ibpkeys_file.c | 120 if (semanage_context_from_string(handle, str, &con) < 0) { in ibpkey_parse()
|
H A D | ports_file.c | 128 if (semanage_context_from_string(handle, str, &con) < 0) { in port_parse()
|
H A D | nodes_file.c | 121 if (semanage_context_from_string(handle, str, &con) < 0) { in node_parse()
|
H A D | libsemanage.map | 40 semanage_context_from_string;
|
H A D | semanageswig_python_exception.i | 674 %exception semanage_context_from_string {
|
/aosp_15_r20/external/selinux/libsemanage/include/semanage/ |
H A D | context_record.h | 53 extern int semanage_context_from_string(semanage_handle_t * handle,
|
/aosp_15_r20/external/selinux/libsemanage/example/ |
H A D | test_fcontext.c | 51 if (semanage_context_from_string(sh, argv[1], &con)) { in main()
|