Lines Matching full:role
208 * For user and role plus types (for policy vers <
497 val1 = scontext->role;
498 val2 = tcontext->role;
634 val1 = c->role;
914 * role is changing, then check the (current_role, new_role)
919 scontext->role != tcontext->role) {
921 if (scontext->role == ra->role &&
922 tcontext->role == ra->new_role)
1263 /* Set the role and type to default values. */
1266 /* Use the current role and type of process. */
1267 newcontext.role = scontext->role;
1271 /* Use the well-defined object role. */
1272 newcontext.role = OBJECT_R_VAL;
1305 /* Look for a role transition rule. */
1308 if (roletr->role == scontext->role &&
1310 /* Use the role transition rule. */
1311 newcontext.role = roletr->new_role;
1494 role_datum_t *role;
1517 /* Convert the role. */
1518 role = (role_datum_t *) hashtab_search(args->newp->p_roles.table,
1520 p_role_val_to_name[c->role - 1]);
1521 if (!role) {
1524 c->role = role->s.value;
1920 role_datum_t *role;
1950 role = policydb->role_val_to_struct[i];
1951 usercon.role = i + 1;
1952 ebitmap_for_each_bit(&role->types.types, tnode, j) {