Home | History | Annotate | Download | only in src

Lines Matching defs:tr

1279 	role_trans_t *tr, *ltr = NULL;
1339 for (tr = p->role_tr; tr; tr = tr->next) {
1342 ltr = tr;
2343 role_trans_t *tr, *ltr;
2354 tr = calloc(1, sizeof(struct role_trans));
2355 if (!tr) {
2359 ltr->next = tr;
2361 *t = tr;
2366 tr->role = le32_to_cpu(buf[0]);
2367 tr->type = le32_to_cpu(buf[1]);
2368 tr->new_role = le32_to_cpu(buf[2]);
2373 tr->tclass = le32_to_cpu(buf[0]);
2375 tr->tclass = SECCLASS_PROCESS;
2376 ltr = tr;
3194 role_trans_rule_t *tr, *ltr;
3203 tr = malloc(sizeof(role_trans_rule_t));
3204 if (!tr) {
3207 role_trans_rule_init(tr);
3210 ltr->next = tr;
3212 *r = tr;
3215 if (role_set_read(&tr->roles, fp))
3218 if (type_set_read(&tr->types, fp))
3222 if (ebitmap_read(&tr->classes, fp))
3225 if (ebitmap_set_bit(&tr->classes, SECCLASS_PROCESS - 1, 1))
3232 tr->new_role = le32_to_cpu(buf[0]);
3233 ltr = tr;