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.h312 } role_allow_rule_t; typedef
458 role_allow_rule_t *role_allow_rules;
669 extern void role_allow_rule_init(role_allow_rule_t * x);
670 extern void role_allow_rule_destroy(role_allow_rule_t * x);
671 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.c3292 ra = malloc(sizeof(role_allow_rule_t)); in define_role_allow()
/external/selinux/libsepol/src/
Dlink.c1420 static int copy_role_allow_list(role_allow_rule_t * list, in copy_role_allow_list()
1421 role_allow_rule_t ** dst, in copy_role_allow_list()
1424 role_allow_rule_t *cur, *new_rule = NULL, *tail; in copy_role_allow_list()
1434 (role_allow_rule_t *) malloc(sizeof(role_allow_rule_t))) == in copy_role_allow_list()
Dpolicydb.c655 void role_allow_rule_init(role_allow_rule_t * x) in role_allow_rule_init()
657 memset(x, 0, sizeof(role_allow_rule_t)); in role_allow_rule_init()
662 void role_allow_rule_destroy(role_allow_rule_t * x) in role_allow_rule_destroy()
668 void role_allow_rule_list_destroy(role_allow_rule_t * x) in role_allow_rule_list_destroy()
671 role_allow_rule_t *next = x->next; in role_allow_rule_list_destroy()
3581 static int role_allow_rule_read(role_allow_rule_t ** r, struct policy_file *fp) in role_allow_rule_read()
3585 role_allow_rule_t *ra, *lra; in role_allow_rule_read()
3594 ra = malloc(sizeof(role_allow_rule_t)); in role_allow_rule_read()
Dwrite.c1812 static int role_allow_rule_write(role_allow_rule_t * r, struct policy_file *fp) in role_allow_rule_write()
1817 role_allow_rule_t *ra; in role_allow_rule_write()
Dexpand.c1221 static int copy_role_allows(expand_state_t * state, role_allow_rule_t * rules) in copy_role_allows()
1225 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()