/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 279 if (sidcontext->context_str == NULL) { in cil_reset_sidcontext() 286 if (filecon->context_str == NULL && filecon->context != NULL) { in cil_reset_filecon() 293 if (portcon->context_str == NULL) { in cil_reset_portcon() 300 if (nodecon->context_str == NULL) { in cil_reset_nodecon() 307 if (genfscon->context_str == NULL) { in cil_reset_genfscon() 325 if (pirqcon->context_str == NULL) { in cil_reset_pirqcon() 332 if (iomemcon->context_str == NULL) { in cil_reset_iomemcon() 339 if (ioportcon->context_str == NULL) { in cil_reset_ioportcon() 346 if (pcidevicecon->context_str == NULL) { in cil_reset_pcidevicecon() 353 if (devicetreecon->context_str == NULL) { in cil_reset_devicetreecon() [all …]
|
D | cil_copy_ast.c | 350 if (orig->context_str != NULL) { in cil_copy_sidcontext() 351 new->context_str = orig->context_str; in cil_copy_sidcontext() 1117 if (orig->context_str != NULL) { in cil_copy_genfscon() 1118 new->context_str = orig->context_str; in cil_copy_genfscon() 1139 if (orig->context_str != NULL) { in cil_copy_filecon() 1140 new->context_str = orig->context_str; in cil_copy_filecon() 1172 if (orig->context_str != NULL) { in cil_copy_nodecon() 1173 new->context_str = orig->context_str; in cil_copy_nodecon() 1195 if (orig->context_str != NULL) { in cil_copy_portcon() 1196 new->context_str = orig->context_str; in cil_copy_portcon() [all …]
|
D | cil_internal.h | 424 char *context_str; member 721 char *context_str; member 735 char *context_str; member 744 char *context_str; member 760 char *context_str; member 770 char *context_str; member 775 char *context_str; member 782 char *context_str; member 789 char *context_str; member 795 char *context_str; member [all …]
|
D | cil_tree.c | 1393 } else if (filecon->context_str != NULL) { in cil_tree_print_node() 1394 cil_log(CIL_INFO, " %s", filecon->context_str); in cil_tree_print_node() 1415 } else if (portcon->context_str != NULL) { in cil_tree_print_node() 1416 cil_log(CIL_INFO, " %s", portcon->context_str); in cil_tree_print_node() 1444 } else if (nodecon->context_str != NULL) { in cil_tree_print_node() 1445 cil_log(CIL_INFO, " %s", nodecon->context_str); in cil_tree_print_node() 1458 } else if (genfscon->context_str != NULL) { in cil_tree_print_node() 1459 cil_log(CIL_INFO, " %s", genfscon->context_str); in cil_tree_print_node() 1491 cil_log(CIL_INFO, " %s", pirqcon->context_str); in cil_tree_print_node() 1504 cil_log(CIL_INFO, " %s", iomemcon->context_str); in cil_tree_print_node() [all …]
|
D | cil_resolve_ast.c | 1862 if (filecon->context_str != NULL) { in cil_resolve_filecon() 1863 …rc = cil_resolve_name(current, filecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_filecon() 1884 if (portcon->context_str != NULL) { in cil_resolve_portcon() 1885 …rc = cil_resolve_name(current, portcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_portcon() 1909 if (genfscon->context_str != NULL) { in cil_resolve_genfscon() 1910 …rc = cil_resolve_name(current, genfscon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum… in cil_resolve_genfscon() 1952 if (nodecon->context_str != NULL) { in cil_resolve_nodecon() 1953 …rc = cil_resolve_name(current, nodecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_nodecon() 2023 if (pirqcon->context_str != NULL) { in cil_resolve_pirqcon() 2024 …rc = cil_resolve_name(current, pirqcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_pirqcon() [all …]
|
D | cil.c | 1822 (*netifcon)->context_str = NULL; in cil_netifcon_init() 1949 (*sidcontext)->context_str = NULL; in cil_sidcontext_init() 2237 (*filecon)->context_str = NULL; in cil_filecon_init() 2247 (*portcon)->context_str = NULL; in cil_portcon_init() 2259 (*nodecon)->context_str = NULL; in cil_nodecon_init() 2269 (*genfscon)->context_str = NULL; in cil_genfscon_init() 2278 (*pirqcon)->context_str = NULL; in cil_pirqcon_init() 2288 (*iomemcon)->context_str = NULL; in cil_iomemcon_init() 2296 (*ioportcon)->context_str = NULL; in cil_ioportcon_init() 2305 (*pcidevicecon)->context_str = NULL; in cil_pcidevicecon_init() [all …]
|
D | cil_write_ast.c | 501 if (sidcon->context_str != NULL) { in cil_write_sidcontext() 502 ctx_str = strdup(sidcon->context_str); in cil_write_sidcontext() 917 if (genfscon->context_str != NULL) { in cil_write_genfscon() 918 ctx_str = strdup(genfscon->context_str); in cil_write_genfscon() 1026 if (fsuse->context_str != NULL) { in cil_write_fsuse() 1027 ctx_str = strdup(fsuse->context_str); in cil_write_fsuse()
|
D | cil_build_ast.c | 1091 sidcon->context_str = parse_current->next->next->data; in cil_gen_sidcontext() 1118 if (sidcon->context_str == NULL && sidcon->context != NULL) { in cil_destroy_sidcontext() 4150 filecon->context_str = parse_current->next->next->next->data; in cil_gen_filecon() 4182 if (filecon->context_str == NULL && filecon->context != NULL) { in cil_destroy_filecon() 4255 portcon->context_str = parse_current->next->next->next->data; in cil_gen_portcon() 4282 if (portcon->context_str == NULL && portcon->context != NULL) { in cil_destroy_portcon() 4336 nodecon->context_str = parse_current->next->next->next->data; in cil_gen_nodecon() 4371 if (nodecon->context_str == NULL && nodecon->context != NULL) { in cil_destroy_nodecon() 4406 genfscon->context_str = parse_current->next->next->next->data; in cil_gen_genfscon() 4433 if (genfscon->context_str == NULL && genfscon->context != NULL) { in cil_destroy_genfscon() [all …]
|
D | android.c | 332 if (sidcon->context_str == NULL) { in cil_attrib_sidcontext() 573 if (genfscon->context_str == NULL) { in cil_attrib_genfscon() 591 if (fsuse->context_str == NULL) { in cil_attrib_fsuse()
|
/external/selinux/libselinux/src/ |
D | context.c | 121 char *context_str(context_t context) in hidden_def() 147 hidden_def(context_str) in hidden_def() argument
|
D | context_internal.h | 6 hidden_proto(context_str)
|
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 | get_context_list.c | 86 newfromcon = context_str(con); in hidden_def() 359 newfromcon = context_str(con); in get_ordered_context_list_with_level()
|
D | selinux_restorecon.c | 572 *newtypecon = strdup(context_str(conb)); in compare_types()
|
/external/selinux/libselinux/include/selinux/ |
D | context.h | 28 extern char *context_str(context_t);
|
/external/selinux/mcstrans/src/ |
D | mcscolor.c | 102 ctx = strdup(context_str(my_tmp)); in check_dominance() 108 raw = context_str(my_tmp); in check_dominance()
|
D | mcstrans.c | 920 rcon = strdup(context_str(con)); in new_context_str()
|
/external/selinux/libselinux/src/android/ |
D | android.c | 947 ctx_str = context_str(ctx); in selinux_android_setfilecon() 1017 ctx_str = context_str(ctx); in selinux_android_setcontext() 1305 secontext = context_str(ctx); in pkgdir_selabel_lookup()
|
/external/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()
|
/external/selinux/policycoreutils/newrole/ |
D | newrole.c | 959 if (!(new_con = context_str(context))) { in parse_command_line_arguments()
|