Home
last modified time | relevance | path

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

/external/selinux/libsemanage/src/
Dcontext_record.c94 int semanage_context_from_string(semanage_handle_t * handle, in hidden_def()
101 hidden_def(semanage_context_from_string) in hidden_def() argument
Dinterfaces_file.c88 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()
Dcontext_internal.h9 hidden_proto(semanage_context_from_string)
Dibendports_file.c98 if (semanage_context_from_string(handle, str, &con) < 0) { in ibendport_parse()
Dfcontexts_file.c132 if (semanage_context_from_string(handle, str, &con) < 0) { in fcontext_parse()
Dibpkeys_file.c121 if (semanage_context_from_string(handle, str, &con) < 0) { in ibpkey_parse()
Dports_file.c129 if (semanage_context_from_string(handle, str, &con) < 0) { in port_parse()
Dnodes_file.c122 if (semanage_context_from_string(handle, str, &con) < 0) { in node_parse()
Dsemanageswig_python_exception.i749 %exception semanage_context_from_string {
/external/selinux/libsemanage/tests/
Dtest_iface.c303 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()
Dtest_port.c437 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()
Dtest_other.c84 CU_ASSERT(semanage_context_from_string(sh, "my_u:my_r:my_t:s0", in test_semanage_context()
Dtest_node.c430 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()
Dtest_fcontext.c463 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/
Dcontext_record.h53 extern int semanage_context_from_string(semanage_handle_t * handle,
/external/selinux/libsemanage/example/
Dtest_fcontext.c51 if (semanage_context_from_string(sh, argv[1], &con)) { in main()