Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h314 } role_allow_rule_t; typedef
461 role_allow_rule_t *role_allow_rules;
685 extern void role_allow_rule_init(role_allow_rule_t * x);
686 extern void role_allow_rule_destroy(role_allow_rule_t * x);
687 extern void role_allow_rule_list_destroy(role_allow_rule_t * x);
/third_party/selinux/checkpolicy/
Dmodule_compiler.h84 void append_role_allow(role_allow_rule_t * role_allow_rules);
Dmodule_compiler.c1270 void append_role_allow(role_allow_rule_t * role_allow_rules) in append_role_allow()
Dpolicy_define.c3269 ra = malloc(sizeof(role_allow_rule_t)); in define_role_allow()
/third_party/selinux/libsepol/src/
Dlink.c1373 static int copy_role_allow_list(role_allow_rule_t * list, in copy_role_allow_list()
1374 role_allow_rule_t ** dst, in copy_role_allow_list()
1377 role_allow_rule_t *cur, *new_rule = NULL, *tail; in copy_role_allow_list()
1387 (role_allow_rule_t *) malloc(sizeof(role_allow_rule_t))) == in copy_role_allow_list()
Dpolicydb.c697 void role_allow_rule_init(role_allow_rule_t * x) in role_allow_rule_init()
699 memset(x, 0, sizeof(role_allow_rule_t)); in role_allow_rule_init()
704 void role_allow_rule_destroy(role_allow_rule_t * x) in role_allow_rule_destroy()
710 void role_allow_rule_list_destroy(role_allow_rule_t * x) in role_allow_rule_list_destroy()
713 role_allow_rule_t *next = x->next; in role_allow_rule_list_destroy()
3801 static int role_allow_rule_read(role_allow_rule_t ** r, struct policy_file *fp) in role_allow_rule_read()
3805 role_allow_rule_t *ra, *lra; in role_allow_rule_read()
3814 ra = malloc(sizeof(role_allow_rule_t)); in role_allow_rule_read()
Dwrite.c1920 static int role_allow_rule_write(role_allow_rule_t * r, struct policy_file *fp) in role_allow_rule_write()
1925 role_allow_rule_t *ra; in role_allow_rule_write()
Dpolicydb_validate.c1217 static int validate_role_allow_rules(sepol_handle_t *handle, const role_allow_rule_t *role_allow, v… in validate_role_allow_rules()
Dexpand.c1256 static int copy_role_allows(expand_state_t * state, role_allow_rule_t * rules) in copy_role_allows()
1260 role_allow_rule_t *cur; in copy_role_allows()
/third_party/selinux/checkpolicy/test/
Ddismod.c498 static void display_role_allow(role_allow_rule_t * ra, policydb_t * p, FILE * fp) in display_role_allow()