Searched refs:selinuxuser (Results 1 – 11 of 11) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil.c | 1426 struct cil_selinuxuser *selinuxuser = curr->data; in cil_selinuxusers_to_string() local 1427 struct cil_user *user = selinuxuser->user; in cil_selinuxusers_to_string() 1429 str_len += strlen(selinuxuser->name_str) + strlen(user->datum.fqn) + 1; in cil_selinuxusers_to_string() 1432 struct cil_levelrange *range = selinuxuser->range; in cil_selinuxusers_to_string() 1444 struct cil_selinuxuser *selinuxuser = curr->data; in cil_selinuxusers_to_string() local 1445 struct cil_user *user = selinuxuser->user; in cil_selinuxusers_to_string() 1447 buf_pos = sprintf(str_tmp, "%s:%s", selinuxuser->name_str, user->datum.fqn); in cil_selinuxusers_to_string() 1451 struct cil_levelrange *range = selinuxuser->range; in cil_selinuxusers_to_string() 1953 void cil_selinuxuser_init(struct cil_selinuxuser **selinuxuser) in cil_selinuxuser_init() argument 1955 *selinuxuser = cil_malloc(sizeof(**selinuxuser)); in cil_selinuxuser_init() [all …]
|
D | cil_reset_ast.c | 130 static void cil_reset_selinuxuser(struct cil_selinuxuser *selinuxuser) in cil_reset_selinuxuser() argument 132 if (selinuxuser->range_str == NULL) { in cil_reset_selinuxuser() 133 cil_reset_levelrange(selinuxuser->range); in cil_reset_selinuxuser()
|
D | cil_build_ast.c | 1536 struct cil_selinuxuser *selinuxuser = NULL; in cil_gen_selinuxuser() local 1548 cil_selinuxuser_init(&selinuxuser); in cil_gen_selinuxuser() 1550 selinuxuser->name_str = parse_current->next->data; in cil_gen_selinuxuser() 1551 selinuxuser->user_str = parse_current->next->next->data; in cil_gen_selinuxuser() 1554 selinuxuser->range_str = parse_current->next->next->next->data; in cil_gen_selinuxuser() 1556 cil_levelrange_init(&selinuxuser->range); in cil_gen_selinuxuser() 1558 rc = cil_fill_levelrange(parse_current->next->next->next->cl_head, selinuxuser->range); in cil_gen_selinuxuser() 1564 ast_node->data = selinuxuser; in cil_gen_selinuxuser() 1571 cil_destroy_selinuxuser(selinuxuser); in cil_gen_selinuxuser() 1584 struct cil_selinuxuser *selinuxuser = NULL; in cil_gen_selinuxuserdefault() local [all …]
|
D | cil_resolve_ast.c | 927 struct cil_selinuxuser *selinuxuser = current->data; in cil_resolve_selinuxuser() local 933 rc = cil_resolve_name(current, selinuxuser->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_selinuxuser() 946 selinuxuser->user = (struct cil_user*)user_datum; in cil_resolve_selinuxuser() 948 if (selinuxuser->range_str != NULL) { in cil_resolve_selinuxuser() 949 …rc = cil_resolve_name(current, selinuxuser->range_str, CIL_SYM_LEVELRANGES, extra_args, &lvlrange_… in cil_resolve_selinuxuser() 953 selinuxuser->range = (struct cil_levelrange*)lvlrange_datum; in cil_resolve_selinuxuser() 956 if (selinuxuser->range->datum.name == NULL) { in cil_resolve_selinuxuser() 957 rc = cil_resolve_levelrange(current, selinuxuser->range, extra_args); in cil_resolve_selinuxuser() 962 } else if (selinuxuser->range != NULL) { in cil_resolve_selinuxuser() 963 rc = cil_resolve_levelrange(current, selinuxuser->range, extra_args); in cil_resolve_selinuxuser()
|
D | cil_build_ast.h | 96 void cil_destroy_selinuxuser(struct cil_selinuxuser *selinuxuser);
|
D | cil_internal.h | 957 void cil_selinuxuser_init(struct cil_selinuxuser **selinuxuser);
|
D | cil_post.c | 1538 struct cil_selinuxuser *selinuxuser = node->data; in __cil_post_db_cat_helper() local 1539 rc = __evaluate_levelrange_expression(selinuxuser->range, db); in __cil_post_db_cat_helper()
|
/external/selinux/secilc/docs/ |
D | cil_user_statements.md | 371 selinuxuser section in User Statements 378 (selinuxuser user_name user_id userrange_id) 389 <td align="left"><p><code>selinuxuser</code></p></td> 390 <td align="left"><p>The <code>selinuxuser</code> keyword.</p></td> 413 (selinuxuser admin_1 admin low_low)
|
D | README.md | 144 * [selinuxuser](cil_user_statements.md#selinuxuser)
|
/external/selinux/secilc/test/ |
D | integration.cil | 135 (selinuxuser name user_u low_high)
|
D | policy.cil | 205 (selinuxuser name user_u low_high)
|