Home
last modified time | relevance | path

Searched refs:role_allow_rule_t (Results 1 – 9 of 9) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h301 } role_allow_rule_t; typedef
437 role_allow_rule_t *role_allow_rules;
641 extern void role_allow_rule_init(role_allow_rule_t * x);
642 extern void role_allow_rule_destroy(role_allow_rule_t * x);
643 extern void role_allow_rule_list_destroy(role_allow_rule_t * x);
/external/selinux/checkpolicy/
Dmodule_compiler.h84 void append_role_allow(role_allow_rule_t * role_allow_rules);
Dmodule_compiler.c1380 void append_role_allow(role_allow_rule_t * role_allow_rules) in append_role_allow()
Dpolicy_define.c3119 ra = malloc(sizeof(role_allow_rule_t)); in define_role_allow()
/external/selinux/libsepol/src/
Dpolicydb.c616 void role_allow_rule_init(role_allow_rule_t * x) in role_allow_rule_init()
618 memset(x, 0, sizeof(role_allow_rule_t)); in role_allow_rule_init()
623 void role_allow_rule_destroy(role_allow_rule_t * x) in role_allow_rule_destroy()
629 void role_allow_rule_list_destroy(role_allow_rule_t * x) in role_allow_rule_list_destroy()
632 role_allow_rule_t *next = x->next; in role_allow_rule_list_destroy()
3278 static int role_allow_rule_read(role_allow_rule_t ** r, struct policy_file *fp) in role_allow_rule_read()
3282 role_allow_rule_t *ra, *lra; in role_allow_rule_read()
3291 ra = malloc(sizeof(role_allow_rule_t)); in role_allow_rule_read()
Dlink.c1411 static int copy_role_allow_list(role_allow_rule_t * list, in copy_role_allow_list()
1412 role_allow_rule_t ** dst, in copy_role_allow_list()
1415 role_allow_rule_t *cur, *new_rule = NULL, *tail; in copy_role_allow_list()
1425 (role_allow_rule_t *) malloc(sizeof(role_allow_rule_t))) == in copy_role_allow_list()
Dwrite.c1675 static int role_allow_rule_write(role_allow_rule_t * r, struct policy_file *fp) in role_allow_rule_write()
1680 role_allow_rule_t *ra; in role_allow_rule_write()
Dexpand.c1219 static int copy_role_allows(expand_state_t * state, role_allow_rule_t * rules) in copy_role_allows()
1223 role_allow_rule_t *cur; in copy_role_allows()
/external/selinux/checkpolicy/test/
Ddismod.c474 void display_role_allow(role_allow_rule_t * ra, policydb_t * p, FILE * fp) in display_role_allow()