/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 315 if (sidcontext->context_str == NULL) { in cil_reset_sidcontext() 324 if (filecon->context_str == NULL) { in cil_reset_filecon() 333 if (ibpkeycon->context_str == NULL) { in cil_reset_ibpkeycon() 342 if (portcon->context_str == NULL) { in cil_reset_portcon() 351 if (nodecon->context_str == NULL) { in cil_reset_nodecon() 360 if (genfscon->context_str == NULL) { in cil_reset_genfscon() 384 if (ibendportcon->context_str == NULL) { in cil_reset_ibendportcon() 393 if (pirqcon->context_str == NULL) { in cil_reset_pirqcon() 402 if (iomemcon->context_str == NULL) { in cil_reset_iomemcon() 411 if (ioportcon->context_str == NULL) { in cil_reset_ioportcon() [all …]
|
D | cil_internal.h | 440 char *context_str; member 746 char *context_str; member 761 char *context_str; member 769 char *context_str; member 778 char *context_str; member 794 char *context_str; member 804 char *context_str; member 810 char *context_str; member 815 char *context_str; member 822 char *context_str; member [all …]
|
D | cil_copy_ast.c | 359 if (orig->context_str != NULL) { in cil_copy_sidcontext() 360 new->context_str = orig->context_str; in cil_copy_sidcontext() 1132 if (orig->context_str != NULL) { in cil_copy_genfscon() 1133 new->context_str = orig->context_str; in cil_copy_genfscon() 1154 if (orig->context_str != NULL) { in cil_copy_filecon() 1155 new->context_str = orig->context_str; in cil_copy_filecon() 1187 if (orig->context_str != NULL) { in cil_copy_nodecon() 1188 new->context_str = orig->context_str; in cil_copy_nodecon() 1210 if (orig->context_str) { in cil_copy_ibpkeycon() 1211 new->context_str = orig->context_str; in cil_copy_ibpkeycon() [all …]
|
D | cil_write_ast.c | 832 fprintf(out, "%s", sidcon->context_str); in cil_write_ast_node() 1255 else if (filecon->context_str) in cil_write_ast_node() 1256 fprintf(out, "%s", filecon->context_str); in cil_write_ast_node() 1268 else if (ibpkeycon->context_str) in cil_write_ast_node() 1269 fprintf(out, "%s", ibpkeycon->context_str); in cil_write_ast_node() 1293 fprintf(out, "%s", portcon->context_str); in cil_write_ast_node() 1313 fprintf(out, "%s", nodecon->context_str); in cil_write_ast_node() 1324 fprintf(out, "%s", genfscon->context_str); in cil_write_ast_node() 1349 fprintf(out, "%s", ibendportcon->context_str); in cil_write_ast_node() 1359 fprintf(out, "%s", pirqcon->context_str); in cil_write_ast_node() [all …]
|
D | cil_resolve_ast.c | 1917 if (filecon->context_str != NULL) { in cil_resolve_filecon() 1918 …rc = cil_resolve_name(current, filecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_filecon() 1939 if (ibpkeycon->context_str) { in cil_resolve_ibpkeycon() 1940 …rc = cil_resolve_name(current, ibpkeycon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datu… in cil_resolve_ibpkeycon() 1963 if (portcon->context_str != NULL) { in cil_resolve_portcon() 1964 …rc = cil_resolve_name(current, portcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_portcon() 1988 if (genfscon->context_str != NULL) { in cil_resolve_genfscon() 1989 …rc = cil_resolve_name(current, genfscon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum… in cil_resolve_genfscon() 2031 if (nodecon->context_str != NULL) { in cil_resolve_nodecon() 2032 …rc = cil_resolve_name(current, nodecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_nodecon() [all …]
|
D | cil.c | 2098 (*netifcon)->context_str = NULL; in cil_netifcon_init() 2107 (*ibendportcon)->context_str = NULL; in cil_ibendportcon_init() 2236 (*sidcontext)->context_str = NULL; in cil_sidcontext_init() 2534 (*filecon)->context_str = NULL; in cil_filecon_init() 2545 (*ibpkeycon)->context_str = NULL; in cil_ibpkeycon_init() 2555 (*portcon)->context_str = NULL; in cil_portcon_init() 2567 (*nodecon)->context_str = NULL; in cil_nodecon_init() 2577 (*genfscon)->context_str = NULL; in cil_genfscon_init() 2586 (*pirqcon)->context_str = NULL; in cil_pirqcon_init() 2596 (*iomemcon)->context_str = NULL; in cil_iomemcon_init() [all …]
|
D | cil_build_ast.c | 1189 sidcon->context_str = parse_current->next->next->data; in cil_gen_sidcontext() 1216 if (sidcon->context_str == NULL && sidcon->context != NULL) { in cil_destroy_sidcontext() 4255 filecon->context_str = parse_current->next->next->next->data; in cil_gen_filecon() 4287 if (filecon->context_str == NULL && filecon->context != NULL) { in cil_destroy_filecon() 4346 ibpkeycon->context_str = parse_current->next->next->next->data; in cil_gen_ibpkeycon() 4371 if (!ibpkeycon->context_str && ibpkeycon->context) in cil_destroy_ibpkeycon() 4445 portcon->context_str = parse_current->next->next->next->data; in cil_gen_portcon() 4472 if (portcon->context_str == NULL && portcon->context != NULL) { in cil_destroy_portcon() 4526 nodecon->context_str = parse_current->next->next->next->data; in cil_gen_nodecon() 4561 if (nodecon->context_str == NULL && nodecon->context != NULL) { in cil_destroy_nodecon() [all …]
|
/third_party/selinux/libselinux/include/selinux/ |
D | context.h | 28 extern char *context_str(context_t);
|
/third_party/selinux/libselinux/src/ |
D | get_context_list.c | 87 newfromcon = context_str(con); in get_default_context_with_rolelevel() 260 usercon_str = context_str(usercon); in get_context_user() 374 newfromcon = context_str(con); in get_ordered_context_list_with_level()
|
D | setexecfilecon.c | 37 newcon = strdup(context_str(con)); in setexecfilecon()
|
D | query_user_context.c | 164 user_context = context_str(new_context); in manual_user_enter_context()
|
D | libselinux.map | 35 context_str;
|
D | context.c | 119 char *context_str(context_t context) in context_str() function
|
D | selinux_restorecon.c | 585 *newtypecon = strdup(context_str(conb)); in compare_types()
|
/third_party/gstreamer/gstreamer/tools/ |
D | gst-launch.c | 875 gchar *context_str; in bus_handler() local 880 context_str = in bus_handler() 884 context_str); in bus_handler() 885 g_free (context_str); in bus_handler()
|
/third_party/eudev/src/shared/ |
D | selinux-util.c | 300 mycon = strdup(context_str(bcon)); in mac_selinux_get_child_mls_label()
|
/third_party/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 1147 CuAssertStrEquals(tc, test_copy->context_str, in test_cil_copy_nodecon() 1148 ((struct cil_nodecon *)test_ast_node->data)->context_str); in test_cil_copy_nodecon() 1179 CuAssertStrEquals(tc, test_copy->context_str, in test_cil_copy_nodecon_anon() 1180 ((struct cil_nodecon *)test_ast_node->data)->context_str); in test_cil_copy_nodecon_anon()
|