/external/selinux/secilc/test/ |
D | policy.cil | 262 (filecon "/usr/bin/foo" file system_u_bin_t_l2h) 263 (filecon "/usr/bin/bar" file (system_u system_r kernel_t (low low))) 264 (filecon "/usr/bin/baz" any ()) 265 (filecon "/usr/bin/aaa" any (system_u system_r kernel_t ((s0) (s3 (range c0 c2))))) 266 (filecon "/usr/bin/bbb" any (system_u system_r kernel_t ((s0 (c0)) high))) 267 (filecon "/usr/bin/ccc" any (system_u system_r kernel_t (low (s3 (cats01))))) 268 (filecon "/usr/bin/ddd" any (system_u system_r kernel_t (low (s3 (cats01 cats02)))))
|
D | integration.cil | 168 (filecon "/usr/bin/" "foo" file system_u_bin_t_l2h) 169 (filecon "/usr/bin/" "bar" file ()) 170 (filecon "/usr/bin/" "baz" any ())
|
/external/selinux/secilc/docs/ |
D | cil_file_labeling_statements.md | 4 filecon section in File Labeling Statements 11 (filecon "path" file_type context_id) 22 <td align="left"><p><code>filecon</code></p></td> 23 <td align="left"><p>The <code>filecon</code> keyword.</p></td> 94 (filecon "/system/bin/run-as" file runas_exec_context) 95 (filecon "/dev/socket/wpa_wlan[0-9]" any u:object_r:wpa.socket:s0-s0) 96 (filecon "/data/local/mine" dir ())
|
D | README.md | 77 * [filecon](cil_file_labeling_statements.md#filecon)
|
D | cil_context_statement.md | 62 (filecon "/system/bin/run-as" file runas_exec_context)
|
D | cil_container_statements.md | 164 (filecon "/data/data/com.se4android.netclient/.*" file log_file_context) 173 (filecon "/data/data/com.se4android.netserver/.*" file log_file_context)
|
/external/selinux/libsepol/cil/src/ |
D | cil.c | 253 cil_sort_init(&(*db)->filecon); in cil_db_init() 302 cil_sort_destroy(&(*db)->filecon); in cil_db_destroy() 1486 struct cil_sort *filecons = db->filecon; in cil_filecons_to_string() 1489 struct cil_filecon *filecon = filecons->array[i]; in cil_filecons_to_string() local 1490 struct cil_context *ctx = filecon->context; in cil_filecons_to_string() 1492 str_len += strlen(filecon->path_str); in cil_filecons_to_string() 1494 if (filecon->type != CIL_FILECON_ANY) { in cil_filecons_to_string() 1527 struct cil_filecon *filecon = filecons->array[i]; in cil_filecons_to_string() local 1528 struct cil_context *ctx = filecon->context; in cil_filecons_to_string() 1531 buf_pos = sprintf(str_tmp, "%s", filecon->path_str); in cil_filecons_to_string() [all …]
|
D | cil_reset_ast.c | 284 static void cil_reset_filecon(struct cil_filecon *filecon) in cil_reset_filecon() argument 286 if (filecon->context_str == NULL && filecon->context != NULL) { in cil_reset_filecon() 287 cil_reset_context(filecon->context); in cil_reset_filecon()
|
D | cil_tree.c | 1301 struct cil_filecon *filecon = node->data; in cil_tree_print_node() local 1303 cil_log(CIL_INFO, " %s %d", filecon->path_str, filecon->type); in cil_tree_print_node() 1305 if (filecon->context != NULL) { in cil_tree_print_node() 1306 cil_tree_print_context(filecon->context); in cil_tree_print_node() 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()
|
D | cil_build_ast.c | 4154 struct cil_filecon *filecon = NULL; in cil_gen_filecon() local 4167 cil_filecon_init(&filecon); in cil_gen_filecon() 4169 filecon->path_str = parse_current->next->data; in cil_gen_filecon() 4172 filecon->type = CIL_FILECON_FILE; in cil_gen_filecon() 4174 filecon->type = CIL_FILECON_DIR; in cil_gen_filecon() 4176 filecon->type = CIL_FILECON_CHAR; in cil_gen_filecon() 4178 filecon->type = CIL_FILECON_BLOCK; in cil_gen_filecon() 4180 filecon->type = CIL_FILECON_SOCKET; in cil_gen_filecon() 4182 filecon->type = CIL_FILECON_PIPE; in cil_gen_filecon() 4184 filecon->type = CIL_FILECON_SYMLINK; in cil_gen_filecon() [all …]
|
D | cil_post.c | 396 db->filecon->count++; in __cil_post_db_count_helper() 514 struct cil_sort *sort = db->filecon; in __cil_post_db_array_helper() 1570 struct cil_filecon *filecon = node->data; in __cil_post_db_cat_helper() local 1571 if (filecon->context) { in __cil_post_db_cat_helper() 1572 rc = __evaluate_levelrange_expression(filecon->context->range, db); in __cil_post_db_cat_helper() 1941 …qsort(db->filecon->array, db->filecon->count, sizeof(db->filecon->array), cil_post_filecon_compare… in cil_post_db()
|
D | cil_internal.h | 280 struct cil_sort *filecon; member 982 void cil_filecon_init(struct cil_filecon **filecon);
|
D | cil_build_ast.h | 175 void cil_destroy_filecon(struct cil_filecon *filecon);
|
D | cil_resolve_ast.c | 1849 struct cil_filecon *filecon = current->data; in cil_resolve_filecon() local 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() 1858 filecon->context = (struct cil_context*)context_datum; in cil_resolve_filecon() 1859 } else if (filecon->context != NULL) { in cil_resolve_filecon() 1860 rc = cil_resolve_context(current, filecon->context, extra_args); in cil_resolve_filecon()
|
/external/selinux/libsepol/cil/test/integration_testing/ |
D | nonmls.cil | 35 ;(filecon root path file con)
|
D | mls_policy.cil | 59 (filecon root path file con)
|
/external/selinux/libselinux/ |
D | ChangeLog | 284 * Add new file_context.subs_dist for distro specific filecon substitutions
|