Home
last modified time | relevance | path

Searched refs:cil_user (Results 1 – 13 of 13) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_internal.h410 struct cil_user { struct
412 struct cil_user *bounds; argument
420 struct cil_user *user; argument
439 struct cil_user *user;
446 struct cil_user *user;
643 struct cil_user *user;
956 void cil_user_init(struct cil_user **user);
Dcil_binary.h182 int cil_user_to_policydb(policydb_t *pdb, struct cil_user *cil_user);
Dcil_binary.c705 int cil_user_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_user_to_policydb() argument
713 key = cil_strdup(cil_user->datum.fqn); in cil_user_to_policydb()
729 int cil_user_bounds_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_user_bounds_to_policydb() argument
735 if (cil_user->bounds) { in cil_user_bounds_to_policydb()
736 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_user_bounds_to_policydb()
739 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user->bounds), &sepol_parent); in cil_user_bounds_to_policydb()
748 cil_log(CIL_ERR, "Failed to insert user bounds for user %s\n", cil_user->datum.fqn); in cil_user_bounds_to_policydb()
2536 int cil_userlevel_userrange_to_policydb(policydb_t *pdb, struct cil_user *cil_user) in cil_userlevel_userrange_to_policydb() argument
2539 struct cil_level *cil_level = cil_user->dftlevel; in cil_userlevel_userrange_to_policydb()
2540 struct cil_levelrange *cil_levelrange = cil_user->range; in cil_userlevel_userrange_to_policydb()
[all …]
Dcil_resolve_ast.c744 userrole->user = (struct cil_user*)user_datum; in cil_resolve_userrole()
769 struct cil_user *user = NULL; in cil_resolve_userlevel()
776 user = (struct cil_user*)user_datum; in cil_resolve_userlevel()
812 struct cil_user *user = NULL; in cil_resolve_userrange()
819 user = (struct cil_user*)user_datum; in cil_resolve_userrange()
860 userprefix->user = (struct cil_user*)user_datum; in cil_resolve_userprefix()
877 selinuxuser->user = (struct cil_user*)user_datum; in cil_resolve_selinuxuser()
1659 context->user = (struct cil_user*)user_datum; in cil_resolve_context()
2276 struct cil_user *user = (struct cil_user *)child_datum; in cil_resolve_bounds()
2285 user->bounds = (struct cil_user *)parent_datum; in cil_resolve_bounds()
Dcil.c1132 struct cil_user *user = NULL; in cil_userprefixes_to_string()
1380 struct cil_user *user = selinuxuser->user; in cil_selinuxusers_to_string()
1398 struct cil_user *user = selinuxuser->user; in cil_selinuxusers_to_string()
1454 struct cil_user *user = ctx->user; in cil_filecons_to_string()
1517 struct cil_user *user = ctx->user; in cil_filecons_to_string()
2319 void cil_user_init(struct cil_user **user) in cil_user_init()
Dcil_verify.c607 struct cil_user *user = node->data; in __cil_verify_user()
618 struct cil_user *u1 = user; in __cil_verify_user()
619 struct cil_user *u2 = user->bounds; in __cil_verify_user()
717 struct cil_user *user = ctx->user; in __cil_verify_context()
Dcil_reset_ast.c96 static void cil_reset_user(struct cil_user *user) in cil_reset_user()
Dcil_build_ast.h82 void cil_destroy_user(struct cil_user *user);
Dcil_copy_ast.c375 struct cil_user *orig = data; in cil_copy_user()
381 struct cil_user *new; in cil_copy_user()
Dcil_tree.c611 struct cil_user *user = node->data; in cil_tree_print_node()
Dcil_post.c1211 struct cil_user *user = node->data; in __cil_post_db_cat_helper()
Dcil_build_ast.c1161 struct cil_user *user = NULL; in cil_gen_user()
1192 void cil_destroy_user(struct cil_user *user) in cil_destroy_user()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c356 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()