Searched refs:semanage_context_from_string (Results 1 – 16 of 16) sorted by relevance
/external/selinux/libsemanage/src/ |
D | context_record.c | 94 int semanage_context_from_string(semanage_handle_t * handle, in hidden_def() 101 hidden_def(semanage_context_from_string) in hidden_def() argument
|
D | interfaces_file.c | 88 if (semanage_context_from_string(handle, str, &con) < 0) { in iface_parse() 112 if (semanage_context_from_string(handle, str, &con) < 0) { in iface_parse()
|
D | context_internal.h | 9 hidden_proto(semanage_context_from_string)
|
D | ibendports_file.c | 98 if (semanage_context_from_string(handle, str, &con) < 0) { in ibendport_parse()
|
D | fcontexts_file.c | 132 if (semanage_context_from_string(handle, str, &con) < 0) { in fcontext_parse()
|
D | ibpkeys_file.c | 121 if (semanage_context_from_string(handle, str, &con) < 0) { in ibpkey_parse()
|
D | ports_file.c | 129 if (semanage_context_from_string(handle, str, &con) < 0) { in port_parse()
|
D | nodes_file.c | 122 if (semanage_context_from_string(handle, str, &con) < 0) { in node_parse()
|
D | semanageswig_python_exception.i | 749 %exception semanage_context_from_string {
|
/external/selinux/libsemanage/tests/ |
D | test_iface.c | 303 CU_ASSERT(semanage_context_from_string(sh, in test_iface_get_set_ifcon() 326 CU_ASSERT(semanage_context_from_string(sh, in test_iface_get_set_msgcon() 352 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:type_t:s0", in test_iface_create() 355 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:type_t:s0", in test_iface_create() 378 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:if_type_t:s0", in test_iface_clone() 381 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:msg_type_t:s0", in test_iface_clone()
|
D | test_port.c | 437 semanage_context_from_string(sh, "user_u:role_r:type_t:s0", &con); in test_port_clone() 585 semanage_context_from_string(sh, "user_u:role_r:type_t:s0", &con); in test_port_modify_del_local() 817 CU_ASSERT(semanage_context_from_string(sh, in helper_port_validate_local_twoports() 819 CU_ASSERT(semanage_context_from_string(sh, in helper_port_validate_local_twoports() 873 CU_ASSERT(semanage_context_from_string(sh, in helper_port_validate_local_proto() 875 CU_ASSERT(semanage_context_from_string(sh, in helper_port_validate_local_proto() 877 CU_ASSERT(semanage_context_from_string(sh, in helper_port_validate_local_proto()
|
D | test_other.c | 84 CU_ASSERT(semanage_context_from_string(sh, "my_u:my_r:my_t:s0", in test_semanage_context()
|
D | test_node.c | 430 CU_ASSERT(semanage_context_from_string(sh, in test_node_get_set_con() 459 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:type_t:s0", in test_node_create() 488 CU_ASSERT(semanage_context_from_string(sh, "user_u:role_r:type_t:s0", in test_node_clone()
|
D | test_fcontext.c | 463 CU_ASSERT(semanage_context_from_string(sh, con_str, &con) >= 0); in helper_fcontext_get_set_con() 783 CU_ASSERT(semanage_context_from_string(sh, con_str, &con) >= 0); in helper_fcontext_modify_del_local()
|
/external/selinux/libsemanage/include/semanage/ |
D | context_record.h | 53 extern int semanage_context_from_string(semanage_handle_t * handle,
|
/external/selinux/libsemanage/example/ |
D | test_fcontext.c | 51 if (semanage_context_from_string(sh, argv[1], &con)) { in main()
|