Home | History | Annotate | Download | only in checkpolicy

Lines Matching refs:decl

32 	avrule_decl_t *decl;	/* if in an avrule block, which
130 avrule_decl_t *decl = stack_top->decl;
138 SCOPE_DECL, decl->decl_id, dest_value);
158 if (ebitmap_set_bit(decl->declared.scope + symbol_type,
237 /* create a new role_datum_t for this decl, if necessary */
244 roles_tab = stack_top->decl->p_roles.table;
442 /* create a new user_datum_t for this decl, if necessary */
449 users_tab = stack_top->decl->p_users.table;
523 types_tab = stack_top->decl->p_types.table;
571 roles_tab = stack_top->decl->p_roles.table;
625 avrule_decl_t *decl = stack_top->decl;
633 SCOPE_REQ, decl->decl_id, dest_value);
685 if (ebitmap_set_bit(decl->required.scope + symbol_type,
696 avrule_decl_t *decl = stack_top->decl;
701 scope = &decl->required;
1232 avrule_decl_t *decl = stack->decl;
1234 if (scope->decl_ids[i] == decl->decl_id) {
1278 avrule_decl_t *decl = stack->decl;
1280 (perm_value, class_value, &decl->required)
1282 &decl->declared)) {
1316 avrule_decl_t *decl = stack_top->decl;
1317 return get_decl_cond_list(policydbp, decl, cond);
1349 avrule_decl_t *decl = stack_top->decl;
1359 decl->avrules = avrule;
1369 avrule_decl_t *decl = stack_top->decl;
1374 role_tr_rules->next = decl->role_tr_rules;
1375 decl->role_tr_rules = role_tr_rules;
1381 avrule_decl_t *decl = stack_top->decl;
1386 decl->role_allow_rules;
1387 decl->role_allow_rules = role_allow_rules;
1393 avrule_decl_t *decl = stack_top->decl;
1398 filename_trans_rules->next = decl->filename_trans_rules;
1399 decl->filename_trans_rules = filename_trans_rules;
1405 avrule_decl_t *decl = stack_top->decl;
1410 range_tr_rules->next = decl->range_tr_rules;
1411 decl->range_tr_rules = range_tr_rules;
1417 avrule_decl_t *decl;
1421 (decl = avrule_decl_create(next_decl_id)) == NULL) {
1425 block->branch_list = decl;
1433 decl = block->branch_list;
1435 if (push_stack(1, block, decl) == -1) {
1457 avrule_decl_t *decl;
1462 if ((decl = avrule_decl_create(next_decl_id)) == NULL) {
1466 stack_top->decl->next = decl;
1470 decl = stack_top->decl->next;
1471 assert(decl != NULL &&
1472 decl->next == NULL && decl->decl_id == next_decl_id);
1475 stack_top->decl = decl;
1489 scope_index_t *src_scope = &stack->decl->required;
1536 avrule_decl_t *decl = stack_top->decl;
1541 if (copy_requirements(decl, stack_top->parent) == -1) {
1573 s->decl = va_arg(ap, avrule_decl_t *);