Searched refs:selinuxuser (Results 1 – 11 of 11) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil.c | 1467 struct cil_selinuxuser *selinuxuser = curr->data; in cil_selinuxusers_to_string() local 1468 struct cil_user *user = selinuxuser->user; in cil_selinuxusers_to_string() 1470 str_len += strlen(selinuxuser->name_str) + strlen(user->datum.fqn) + 1; in cil_selinuxusers_to_string() 1473 struct cil_levelrange *range = selinuxuser->range; in cil_selinuxusers_to_string() 1485 struct cil_selinuxuser *selinuxuser = curr->data; in cil_selinuxusers_to_string() local 1486 struct cil_user *user = selinuxuser->user; in cil_selinuxusers_to_string() 1488 buf_pos = sprintf(str_tmp, "%s:%s", selinuxuser->name_str, user->datum.fqn); in cil_selinuxusers_to_string() 1492 struct cil_levelrange *range = selinuxuser->range; in cil_selinuxusers_to_string() 2018 void cil_selinuxuser_init(struct cil_selinuxuser **selinuxuser) in cil_selinuxuser_init() argument 2020 *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 | 1564 struct cil_selinuxuser *selinuxuser = NULL; in cil_gen_selinuxuser() local 1576 cil_selinuxuser_init(&selinuxuser); in cil_gen_selinuxuser() 1578 selinuxuser->name_str = parse_current->next->data; in cil_gen_selinuxuser() 1579 selinuxuser->user_str = parse_current->next->next->data; in cil_gen_selinuxuser() 1582 selinuxuser->range_str = parse_current->next->next->next->data; in cil_gen_selinuxuser() 1584 cil_levelrange_init(&selinuxuser->range); in cil_gen_selinuxuser() 1586 rc = cil_fill_levelrange(parse_current->next->next->next->cl_head, selinuxuser->range); in cil_gen_selinuxuser() 1592 ast_node->data = selinuxuser; in cil_gen_selinuxuser() 1598 cil_destroy_selinuxuser(selinuxuser); in cil_gen_selinuxuser() 1611 struct cil_selinuxuser *selinuxuser = NULL; in cil_gen_selinuxuserdefault() local [all …]
|
D | cil_resolve_ast.c | 983 struct cil_selinuxuser *selinuxuser = current->data; in cil_resolve_selinuxuser() local 989 rc = cil_resolve_name(current, selinuxuser->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_selinuxuser() 1002 selinuxuser->user = (struct cil_user*)user_datum; in cil_resolve_selinuxuser() 1004 if (selinuxuser->range_str != NULL) { in cil_resolve_selinuxuser() 1005 …rc = cil_resolve_name(current, selinuxuser->range_str, CIL_SYM_LEVELRANGES, extra_args, &lvlrange_… in cil_resolve_selinuxuser() 1009 selinuxuser->range = (struct cil_levelrange*)lvlrange_datum; in cil_resolve_selinuxuser() 1012 if (selinuxuser->range->datum.name == NULL) { in cil_resolve_selinuxuser() 1013 rc = cil_resolve_levelrange(current, selinuxuser->range, extra_args); in cil_resolve_selinuxuser() 1018 } else if (selinuxuser->range != NULL) { in cil_resolve_selinuxuser() 1019 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 | 1004 void cil_selinuxuser_init(struct cil_selinuxuser **selinuxuser);
|
D | cil_post.c | 1878 struct cil_selinuxuser *selinuxuser = node->data; in __cil_post_db_cat_helper() local 1879 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)
|