Searched refs:cil_user (Results 1 – 15 of 15) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_binary.h | 182 int cil_user_to_policydb(policydb_t *pdb, struct cil_user *cil_user); 193 int cil_userrole_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_user *user);
|
D | cil_internal.h | 307 struct cil_user **val_to_user; 433 struct cil_user { struct 435 struct cil_user *bounds; argument 475 struct cil_user *user; 482 struct cil_user *user; 707 struct cil_user *user; 1028 void cil_user_init(struct cil_user **user);
|
D | cil_verify.c | 614 struct cil_user *user = node->data; in __cil_verify_user_pre_eval() 625 struct cil_user *u1 = user; in __cil_verify_user_pre_eval() 626 struct cil_user *u2 = user->bounds; in __cil_verify_user_pre_eval() 654 struct cil_user *user = node->data; in __cil_verify_user_post_eval() 735 struct cil_user *user = ctx->user; in __cil_verify_context()
|
D | cil_post.c | 382 struct cil_user *user = node->data; in __cil_post_db_count_helper() 464 struct cil_user *user= node->data; in __cil_post_db_array_helper() 683 struct cil_user *user = NULL; in __cil_user_to_bitmap() 697 user = (struct cil_user *)datum; in __cil_user_to_bitmap() 1393 static int __cil_user_assign_roles(struct cil_user *user, struct cil_symtab_datum *datum) in __cil_user_assign_roles() 1432 struct cil_user *user = NULL; in __cil_post_db_userrole_helper() 1567 struct cil_user *user = node->data; in __cil_post_db_cat_helper()
|
D | cil_binary.c | 153 struct cil_user *user = NULL; in __cil_expand_user() 163 user = (struct cil_user *)datum; in __cil_expand_user() 686 int cil_user_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_user_to_policydb() argument 694 key = cil_strdup(cil_user->datum.fqn); in cil_user_to_policydb() 710 int cil_user_bounds_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_user_bounds_to_policydb() argument 716 if (cil_user->bounds) { in cil_user_bounds_to_policydb() 717 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_user_bounds_to_policydb() 720 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user->bounds), &sepol_parent); in cil_user_bounds_to_policydb() 729 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb() 733 int cil_userrole_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_user *user) in cil_userrole_to_policydb() [all …]
|
D | cil_resolve_ast.c | 837 userrole->user = (struct cil_user*)user_datum; in cil_resolve_userrole() 856 struct cil_user *user = NULL; in cil_resolve_userlevel() 873 user = (struct cil_user*)user_datum; in cil_resolve_userlevel() 909 struct cil_user *user = NULL; in cil_resolve_userrange() 926 user = (struct cil_user*)user_datum; in cil_resolve_userrange() 977 userprefix->user = (struct cil_user*)user_datum; in cil_resolve_userprefix() 1004 selinuxuser->user = (struct cil_user*)user_datum; in cil_resolve_selinuxuser() 1847 context->user = (struct cil_user*)user_datum; in cil_resolve_context() 2550 struct cil_user *user = (struct cil_user *)child_datum; in cil_resolve_bounds() 2558 user->bounds = (struct cil_user *)parent_datum; in cil_resolve_bounds()
|
D | cil.c | 1202 struct cil_user *user = NULL; in cil_userprefixes_to_string() 1452 struct cil_user *user = selinuxuser->user; in cil_selinuxusers_to_string() 1470 struct cil_user *user = selinuxuser->user; in cil_selinuxusers_to_string() 1526 struct cil_user *user = ctx->user; in cil_filecons_to_string() 1589 struct cil_user *user = ctx->user; in cil_filecons_to_string() 2422 void cil_user_init(struct cil_user **user) in cil_user_init()
|
D | cil_reset_ast.c | 96 static void cil_reset_user(struct cil_user *user) in cil_reset_user()
|
D | cil_build_ast.h | 82 void cil_destroy_user(struct cil_user *user);
|
D | cil_write_ast.c | 537 struct cil_user *user = (struct cil_user *)node->data; in cil_write_user()
|
D | cil_copy_ast.c | 379 struct cil_user *orig = data; in cil_copy_user() 385 struct cil_user *new; in cil_copy_user()
|
D | cil_tree.c | 697 struct cil_user *user = node->data; in cil_tree_print_node()
|
D | cil_policy.c | 1587 struct cil_user *user; in cil_users_to_policy()
|
D | cil_build_ast.c | 1194 struct cil_user *user = NULL; in cil_gen_user() 1224 void cil_destroy_user(struct cil_user *user) in cil_destroy_user()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 356 CuAssertStrEquals(tc, ((struct cil_user *)test_copy->data)->datum.name, in test_cil_copy_sidcontext() 357 ((struct cil_user *)test_ast_node->data)->datum.name); in test_cil_copy_sidcontext()
|