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.h313 } role_allow_rule_t; typedef
459 role_allow_rule_t *role_allow_rules;
672 extern void role_allow_rule_init(role_allow_rule_t * x);
673 extern void role_allow_rule_destroy(role_allow_rule_t * x);
674 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.c1261 void append_role_allow(role_allow_rule_t * role_allow_rules) in append_role_allow()
Dpolicy_define.c3268 ra = malloc(sizeof(role_allow_rule_t)); in define_role_allow()
/external/selinux/libsepol/src/
Dlink.c1406 static int copy_role_allow_list(role_allow_rule_t * list, in copy_role_allow_list()
1407 role_allow_rule_t ** dst, in copy_role_allow_list()
1410 role_allow_rule_t *cur, *new_rule = NULL, *tail; in copy_role_allow_list()
1420 (role_allow_rule_t *) malloc(sizeof(role_allow_rule_t))) == in copy_role_allow_list()
Dpolicydb.c677 void role_allow_rule_init(role_allow_rule_t * x) in role_allow_rule_init()
679 memset(x, 0, sizeof(role_allow_rule_t)); in role_allow_rule_init()
684 void role_allow_rule_destroy(role_allow_rule_t * x) in role_allow_rule_destroy()
690 void role_allow_rule_list_destroy(role_allow_rule_t * x) in role_allow_rule_list_destroy()
693 role_allow_rule_t *next = x->next; in role_allow_rule_list_destroy()
3599 static int role_allow_rule_read(role_allow_rule_t ** r, struct policy_file *fp) in role_allow_rule_read()
3603 role_allow_rule_t *ra, *lra; in role_allow_rule_read()
3612 ra = malloc(sizeof(role_allow_rule_t)); in role_allow_rule_read()
Dwrite.c1841 static int role_allow_rule_write(role_allow_rule_t * r, struct policy_file *fp) in role_allow_rule_write()
1846 role_allow_rule_t *ra; in role_allow_rule_write()
Dexpand.c1217 static int copy_role_allows(expand_state_t * state, role_allow_rule_t * rules) in copy_role_allows()
1221 role_allow_rule_t *cur; in copy_role_allows()
/external/selinux/checkpolicy/test/
Ddismod.c499 void display_role_allow(role_allow_rule_t * ra, policydb_t * p, FILE * fp) in display_role_allow()