/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 280 if (sidcontext->context_str == NULL) { in cil_reset_sidcontext() 287 if (filecon->context_str == NULL && filecon->context != NULL) { in cil_reset_filecon() 294 if (!ibpkeycon->context_str) in cil_reset_ibpkeycon() 300 if (portcon->context_str == NULL) { in cil_reset_portcon() 307 if (nodecon->context_str == NULL) { in cil_reset_nodecon() 314 if (genfscon->context_str == NULL) { in cil_reset_genfscon() 332 if (!ibendportcon->context_str) { in cil_reset_ibendportcon() 339 if (pirqcon->context_str == NULL) { in cil_reset_pirqcon() 346 if (iomemcon->context_str == NULL) { in cil_reset_iomemcon() 353 if (ioportcon->context_str == NULL) { in cil_reset_ioportcon() [all …]
|
D | cil_internal.h | 431 char *context_str; member 737 char *context_str; member 752 char *context_str; member 760 char *context_str; member 769 char *context_str; member 785 char *context_str; member 795 char *context_str; member 801 char *context_str; member 806 char *context_str; member 813 char *context_str; member [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() 1140 if (orig->context_str != NULL) { in cil_copy_genfscon() 1141 new->context_str = orig->context_str; in cil_copy_genfscon() 1162 if (orig->context_str != NULL) { in cil_copy_filecon() 1163 new->context_str = orig->context_str; in cil_copy_filecon() 1195 if (orig->context_str != NULL) { in cil_copy_nodecon() 1196 new->context_str = orig->context_str; in cil_copy_nodecon() 1218 if (orig->context_str) { in cil_copy_ibpkeycon() 1219 new->context_str = orig->context_str; in cil_copy_ibpkeycon() [all …]
|
D | cil_tree.c | 1408 } else if (filecon->context_str != NULL) { in cil_tree_print_node() 1409 cil_log(CIL_INFO, " %s", filecon->context_str); in cil_tree_print_node() 1424 else if (ibpkeycon->context_str) in cil_tree_print_node() 1425 cil_log(CIL_INFO, " %s", ibpkeycon->context_str); in cil_tree_print_node() 1446 } else if (portcon->context_str != NULL) { in cil_tree_print_node() 1447 cil_log(CIL_INFO, " %s", portcon->context_str); in cil_tree_print_node() 1475 } else if (nodecon->context_str != NULL) { in cil_tree_print_node() 1476 cil_log(CIL_INFO, " %s", nodecon->context_str); in cil_tree_print_node() 1489 } else if (genfscon->context_str != NULL) { in cil_tree_print_node() 1490 cil_log(CIL_INFO, " %s", genfscon->context_str); in cil_tree_print_node() [all …]
|
D | cil_resolve_ast.c | 1911 if (filecon->context_str != NULL) { in cil_resolve_filecon() 1912 …rc = cil_resolve_name(current, filecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_filecon() 1933 if (ibpkeycon->context_str) { in cil_resolve_ibpkeycon() 1934 …rc = cil_resolve_name(current, ibpkeycon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datu… in cil_resolve_ibpkeycon() 1957 if (portcon->context_str != NULL) { in cil_resolve_portcon() 1958 …rc = cil_resolve_name(current, portcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_portcon() 1982 if (genfscon->context_str != NULL) { in cil_resolve_genfscon() 1983 …rc = cil_resolve_name(current, genfscon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum… in cil_resolve_genfscon() 2025 if (nodecon->context_str != NULL) { in cil_resolve_nodecon() 2026 …rc = cil_resolve_name(current, nodecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_nodecon() [all …]
|
D | cil.c | 1852 (*netifcon)->context_str = NULL; in cil_netifcon_init() 1861 (*ibendportcon)->context_str = NULL; in cil_ibendportcon_init() 1989 (*sidcontext)->context_str = NULL; in cil_sidcontext_init() 2287 (*filecon)->context_str = NULL; in cil_filecon_init() 2298 (*ibpkeycon)->context_str = NULL; in cil_ibpkeycon_init() 2308 (*portcon)->context_str = NULL; in cil_portcon_init() 2320 (*nodecon)->context_str = NULL; in cil_nodecon_init() 2330 (*genfscon)->context_str = NULL; in cil_genfscon_init() 2339 (*pirqcon)->context_str = NULL; in cil_pirqcon_init() 2349 (*iomemcon)->context_str = NULL; in cil_iomemcon_init() [all …]
|
D | cil_build_ast.c | 1125 sidcon->context_str = parse_current->next->next->data; in cil_gen_sidcontext() 1152 if (sidcon->context_str == NULL && sidcon->context != NULL) { in cil_destroy_sidcontext() 4254 filecon->context_str = parse_current->next->next->next->data; in cil_gen_filecon() 4286 if (filecon->context_str == NULL && filecon->context != NULL) { in cil_destroy_filecon() 4345 ibpkeycon->context_str = parse_current->next->next->next->data; in cil_gen_ibpkeycon() 4370 if (!ibpkeycon->context_str && ibpkeycon->context) in cil_destroy_ibpkeycon() 4444 portcon->context_str = parse_current->next->next->next->data; in cil_gen_portcon() 4471 if (portcon->context_str == NULL && portcon->context != NULL) { in cil_destroy_portcon() 4525 nodecon->context_str = parse_current->next->next->next->data; in cil_gen_nodecon() 4560 if (nodecon->context_str == NULL && nodecon->context != NULL) { in cil_destroy_nodecon() [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() 935 if (genfscon->context_str != NULL) { in cil_write_genfscon() 936 ctx_str = strdup(genfscon->context_str); in cil_write_genfscon() 1044 if (fsuse->context_str != NULL) { in cil_write_fsuse() 1045 ctx_str = strdup(fsuse->context_str); in cil_write_fsuse()
|
D | android.c | 337 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 | 582 *newtypecon = strdup(context_str(conb)); in compare_types()
|
/external/selinux/libselinux/include/selinux/ |
D | context.h | 28 extern char *context_str(context_t);
|
/external/chromium-trace/catapult/common/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/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 | 921 rcon = strdup(context_str(con)); in new_context_str()
|
/external/selinux/libselinux/src/android/ |
D | android_platform.c | 1128 ctx_str = context_str(ctx); in selinux_android_setfilecon() 1198 ctx_str = context_str(ctx); in selinux_android_setcontext() 1422 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/python/cpython3/Modules/ |
D | _asynciomodule.c | 3241 PyObject *context_str = PyUnicode_FromString("context"); in module_init() local 3242 if (context_str == NULL) { in module_init() 3245 PyTuple_SET_ITEM(context_kwname, 0, context_str); in module_init()
|
/external/selinux/policycoreutils/newrole/ |
D | newrole.c | 962 if (!(new_con = context_str(context))) { in parse_command_line_arguments()
|