/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 | 416 char *context_str; member 710 char *context_str; member 723 char *context_str; member 732 char *context_str; member 748 char *context_str; member 758 char *context_str; member 763 char *context_str; member 770 char *context_str; member 777 char *context_str; member 783 char *context_str; member [all …]
|
D | cil_tree.c | 1307 } else if (filecon->context_str != NULL) { in cil_tree_print_node() 1308 cil_log(CIL_INFO, " %s", filecon->context_str); in cil_tree_print_node() 1327 } else if (portcon->context_str != NULL) { in cil_tree_print_node() 1328 cil_log(CIL_INFO, " %s", portcon->context_str); in cil_tree_print_node() 1356 } else if (nodecon->context_str != NULL) { in cil_tree_print_node() 1357 cil_log(CIL_INFO, " %s", nodecon->context_str); in cil_tree_print_node() 1370 } else if (genfscon->context_str != NULL) { in cil_tree_print_node() 1371 cil_log(CIL_INFO, " %s", genfscon->context_str); in cil_tree_print_node() 1403 cil_log(CIL_INFO, " %s", pirqcon->context_str); in cil_tree_print_node() 1416 cil_log(CIL_INFO, " %s", iomemcon->context_str); in cil_tree_print_node() [all …]
|
D | cil.c | 1796 (*netifcon)->context_str = NULL; in cil_netifcon_init() 1923 (*sidcontext)->context_str = NULL; in cil_sidcontext_init() 2211 (*filecon)->context_str = NULL; in cil_filecon_init() 2221 (*portcon)->context_str = NULL; in cil_portcon_init() 2233 (*nodecon)->context_str = NULL; in cil_nodecon_init() 2243 (*genfscon)->context_str = NULL; in cil_genfscon_init() 2252 (*pirqcon)->context_str = NULL; in cil_pirqcon_init() 2262 (*iomemcon)->context_str = NULL; in cil_iomemcon_init() 2270 (*ioportcon)->context_str = NULL; in cil_ioportcon_init() 2279 (*pcidevicecon)->context_str = NULL; in cil_pcidevicecon_init() [all …]
|
D | cil_resolve_ast.c | 1853 if (filecon->context_str != NULL) { in cil_resolve_filecon() 1854 …rc = cil_resolve_name(current, filecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_filecon() 1875 if (portcon->context_str != NULL) { in cil_resolve_portcon() 1876 …rc = cil_resolve_name(current, portcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_portcon() 1900 if (genfscon->context_str != NULL) { in cil_resolve_genfscon() 1901 …rc = cil_resolve_name(current, genfscon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum… in cil_resolve_genfscon() 1943 if (nodecon->context_str != NULL) { in cil_resolve_nodecon() 1944 …rc = cil_resolve_name(current, nodecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_nodecon() 2014 if (pirqcon->context_str != NULL) { in cil_resolve_pirqcon() 2015 …rc = cil_resolve_name(current, pirqcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_pirqcon() [all …]
|
D | cil_build_ast.c | 1089 sidcon->context_str = parse_current->next->next->data; in cil_gen_sidcontext() 1117 if (sidcon->context_str == NULL && sidcon->context != NULL) { in cil_destroy_sidcontext() 4194 filecon->context_str = parse_current->next->next->next->data; in cil_gen_filecon() 4227 if (filecon->context_str == NULL && filecon->context != NULL) { in cil_destroy_filecon() 4298 portcon->context_str = parse_current->next->next->next->data; in cil_gen_portcon() 4326 if (portcon->context_str == NULL && portcon->context != NULL) { in cil_destroy_portcon() 4380 nodecon->context_str = parse_current->next->next->next->data; in cil_gen_nodecon() 4416 if (nodecon->context_str == NULL && nodecon->context != NULL) { in cil_destroy_nodecon() 4451 genfscon->context_str = parse_current->next->next->next->data; in cil_gen_genfscon() 4479 if (genfscon->context_str == NULL && genfscon->context != NULL) { in cil_destroy_genfscon() [all …]
|
/external/libselinux/src/ |
D | context_internal.h | 6 hidden_proto(context_str)
|
D | context.c | 121 char *context_str(context_t context) in hidden_def() 149 hidden_def(context_str) in hidden_def() argument
|
D | android.c | 862 ctx_str = context_str(ctx); in selinux_android_setfilecon() 932 ctx_str = context_str(ctx); in selinux_android_setcontext() 1191 secontext = context_str(ctx); in pkgdir_selabel_lookup()
|
/external/selinux/libselinux/src/ |
D | context_internal.h | 6 hidden_proto(context_str)
|
D | context.c | 121 char *context_str(context_t context) in hidden_def() 147 hidden_def(context_str) in hidden_def() argument
|
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()
|
/external/selinux/libselinux/include/selinux/ |
D | context.h | 28 extern char *context_str(context_t);
|
/external/libselinux/include/selinux/ |
D | context.h | 28 extern char *context_str(context_t);
|
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
D | module.py | 59 context_str = '\n'.join(' %s' % x for x in context) 61 self, 'While loading:\n%s\nGot: %s' % (context_str, (fmt % args)))
|
/external/selinux/policycoreutils/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 | 922 rcon = strdup(context_str(con)); in new_context_str()
|
/external/selinux/policycoreutils/setfiles/ |
D | restore.c | 219 newcon = strdup(context_str(conb)); in restore()
|
/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 | 963 if (!(new_con = context_str(context))) { in parse_command_line_arguments()
|