/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 | 260 cil_sort_init(&(*db)->filecon); in cil_db_init() 313 cil_sort_destroy(&(*db)->filecon); in cil_db_destroy() 1527 struct cil_sort *filecons = db->filecon; in cil_filecons_to_string() 1530 struct cil_filecon *filecon = filecons->array[i]; in cil_filecons_to_string() local 1531 struct cil_context *ctx = filecon->context; in cil_filecons_to_string() 1533 str_len += strlen(filecon->path_str); in cil_filecons_to_string() 1535 if (filecon->type != CIL_FILECON_ANY) { in cil_filecons_to_string() 1568 struct cil_filecon *filecon = filecons->array[i]; in cil_filecons_to_string() local 1569 struct cil_context *ctx = filecon->context; in cil_filecons_to_string() 1572 buf_pos = sprintf(str_tmp, "%s", filecon->path_str); in cil_filecons_to_string() [all …]
|
D | cil_reset_ast.c | 285 static void cil_reset_filecon(struct cil_filecon *filecon) in cil_reset_filecon() argument 287 if (filecon->context_str == NULL && filecon->context != NULL) { in cil_reset_filecon() 288 cil_reset_context(filecon->context); in cil_reset_filecon()
|
D | cil_tree.c | 1398 struct cil_filecon *filecon = node->data; in cil_tree_print_node() local 1400 cil_log(CIL_INFO, " %s %d", filecon->path_str, filecon->type); in cil_tree_print_node() 1402 if (filecon->context != NULL) { in cil_tree_print_node() 1403 cil_tree_print_context(filecon->context); in cil_tree_print_node() 1404 } else if (filecon->context_str != NULL) { in cil_tree_print_node() 1405 cil_log(CIL_INFO, " %s", filecon->context_str); in cil_tree_print_node()
|
D | cil_build_ast.c | 4214 struct cil_filecon *filecon = NULL; in cil_gen_filecon() local 4227 cil_filecon_init(&filecon); in cil_gen_filecon() 4229 filecon->path_str = parse_current->next->data; in cil_gen_filecon() 4232 filecon->type = CIL_FILECON_FILE; in cil_gen_filecon() 4234 filecon->type = CIL_FILECON_DIR; in cil_gen_filecon() 4236 filecon->type = CIL_FILECON_CHAR; in cil_gen_filecon() 4238 filecon->type = CIL_FILECON_BLOCK; in cil_gen_filecon() 4240 filecon->type = CIL_FILECON_SOCKET; in cil_gen_filecon() 4242 filecon->type = CIL_FILECON_PIPE; in cil_gen_filecon() 4244 filecon->type = CIL_FILECON_SYMLINK; in cil_gen_filecon() [all …]
|
D | cil_internal.h | 289 struct cil_sort *filecon; member 1030 void cil_filecon_init(struct cil_filecon **filecon);
|
D | cil_post.c | 620 db->filecon->count++; in __cil_post_db_count_helper() 755 struct cil_sort *sort = db->filecon; in __cil_post_db_array_helper() 1910 struct cil_filecon *filecon = node->data; in __cil_post_db_cat_helper() local 1911 if (filecon->context) { in __cil_post_db_cat_helper() 1912 rc = __evaluate_levelrange_expression(filecon->context->range, db); in __cil_post_db_cat_helper() 2408 …rc = __cil_post_process_context_rules(db->filecon, cil_post_filecon_compare, cil_post_filecon_cont… in cil_post_db()
|
D | cil_resolve_ast.c | 1904 struct cil_filecon *filecon = current->data; in cil_resolve_filecon() local 1908 if (filecon->context_str != NULL) { in cil_resolve_filecon() 1909 …rc = cil_resolve_name(current, filecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_filecon() 1913 filecon->context = (struct cil_context*)context_datum; in cil_resolve_filecon() 1914 } else if (filecon->context != NULL) { in cil_resolve_filecon() 1915 rc = cil_resolve_context(current, filecon->context, extra_args); in cil_resolve_filecon()
|
D | cil_build_ast.h | 177 void cil_destroy_filecon(struct cil_filecon *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)
|