Searched refs:selinuxuser (Results 1 – 11 of 11) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil.c | 1631 struct cil_selinuxuser *selinuxuser = curr->data; in cil_selinuxusers_to_string() local 1632 struct cil_user *user = selinuxuser->user; in cil_selinuxusers_to_string() 1634 str_len += strlen(selinuxuser->name_str) + strlen(user->datum.fqn) + 1; in cil_selinuxusers_to_string() 1637 struct cil_levelrange *range = selinuxuser->range; in cil_selinuxusers_to_string() 1649 struct cil_selinuxuser *selinuxuser = curr->data; in cil_selinuxusers_to_string() local 1650 struct cil_user *user = selinuxuser->user; in cil_selinuxusers_to_string() 1652 buf_pos = sprintf(str_tmp, "%s:%s", selinuxuser->name_str, user->datum.fqn); in cil_selinuxusers_to_string() 1656 struct cil_levelrange *range = selinuxuser->range; in cil_selinuxusers_to_string() 2182 void cil_selinuxuser_init(struct cil_selinuxuser **selinuxuser) in cil_selinuxuser_init() argument 2184 *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 | 979 struct cil_selinuxuser *selinuxuser = current->data; in cil_resolve_selinuxuser() local 985 rc = cil_resolve_name(current, selinuxuser->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_selinuxuser() 998 selinuxuser->user = (struct cil_user*)user_datum; in cil_resolve_selinuxuser() 1000 if (selinuxuser->range_str != NULL) { in cil_resolve_selinuxuser() 1001 …rc = cil_resolve_name(current, selinuxuser->range_str, CIL_SYM_LEVELRANGES, extra_args, &lvlrange_… in cil_resolve_selinuxuser() 1005 selinuxuser->range = (struct cil_levelrange*)lvlrange_datum; in cil_resolve_selinuxuser() 1008 if (selinuxuser->range->datum.name == NULL) { in cil_resolve_selinuxuser() 1009 rc = cil_resolve_levelrange(current, selinuxuser->range, extra_args); in cil_resolve_selinuxuser() 1014 } else if (selinuxuser->range != NULL) { in cil_resolve_selinuxuser() 1015 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 | 1008 void cil_selinuxuser_init(struct cil_selinuxuser **selinuxuser);
|
D | cil_post.c | 1870 struct cil_selinuxuser *selinuxuser = node->data; in __cil_post_db_cat_helper() local 1871 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)
|