Searched refs:role_trans (Results 1 – 6 of 6) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | policydb_validate.c | 1042 static int validate_role_transes(sepol_handle_t *handle, const role_trans_t *role_trans, validate_t… in validate_role_transes() argument 1044 for (; role_trans; role_trans = role_trans->next) { in validate_role_transes() 1045 if (validate_value(role_trans->role, &flavors[SYM_ROLES])) in validate_role_transes() 1047 if (validate_value(role_trans->type, &flavors[SYM_TYPES])) in validate_role_transes() 1049 if (validate_value(role_trans->tclass, &flavors[SYM_CLASSES])) in validate_role_transes() 1051 if (validate_value(role_trans->new_role, &flavors[SYM_ROLES])) in validate_role_transes() 1197 static int validate_role_trans_rules(sepol_handle_t *handle, const role_trans_rule_t *role_trans, v… in validate_role_trans_rules() argument 1199 for (; role_trans; role_trans = role_trans->next) { in validate_role_trans_rules() 1200 if (validate_role_set(&role_trans->roles, &flavors[SYM_ROLES])) in validate_role_trans_rules() 1202 if (validate_type_set(&role_trans->types, &flavors[SYM_TYPES])) in validate_role_trans_rules() [all …]
|
D | services.c | 1336 struct role_trans *roletr = 0; in sepol_compute_sid()
|
D | policydb.c | 2540 tr = calloc(1, sizeof(struct role_trans)); in role_trans_read()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil.c | 2488 void cil_roletransition_init(struct cil_roletransition **role_trans) in cil_roletransition_init() argument 2490 *role_trans = cil_malloc(sizeof(**role_trans)); in cil_roletransition_init() 2492 (*role_trans)->src_str = NULL; in cil_roletransition_init() 2493 (*role_trans)->src = NULL; in cil_roletransition_init() 2494 (*role_trans)->tgt_str = NULL; in cil_roletransition_init() 2495 (*role_trans)->tgt = NULL; in cil_roletransition_init() 2496 (*role_trans)->obj_str = NULL; in cil_roletransition_init() 2497 (*role_trans)->obj = NULL; in cil_roletransition_init() 2498 (*role_trans)->result_str = NULL; in cil_roletransition_init() 2499 (*role_trans)->result = NULL; in cil_roletransition_init()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 150 typedef struct role_trans { struct 155 struct role_trans *next; argument
|
/third_party/selinux/checkpolicy/ |
D | policy_define.c | 3117 struct role_trans *tr = NULL; in define_role_trans() 3218 tr = malloc(sizeof(struct role_trans)); in define_role_trans() 3223 memset(tr, 0, sizeof(struct role_trans)); in define_role_trans()
|