Lines Matching defs:rules
1256 static int copy_role_allows(expand_state_t * state, role_allow_rule_t * rules)
1267 cur = rules;
1321 static int copy_role_trans(expand_state_t * state, role_trans_rule_t * rules)
1332 cur = rules;
1444 static int expand_filename_trans(expand_state_t *state, filename_trans_rule_t *rules)
1452 cur_rule = rules;
1563 range_trans_rule_t * rules)
1574 for (rule = rules; rule; rule = rule->next) {
1957 * rules in the destination policy. Return EXPAND_RULE_SUCCESS on
1980 /* Force expansion for type rules and for self rules. */
2415 * rules. Return 1 on success, 0 if the rule conflicts with something
2737 * Expands the avrule blocks for a policy. RBAC rules are copied. Neverallow
2738 * rules are copied or expanded as per the settings in the state object; all
2739 * other AV rules are expanded. If neverallow rules are expanded, they are not
2776 /* expand the range transition rules */
2780 /* copy rules */
2805 /* copy conditional rules */
2830 * expand only the avrules and optionally perform expansion of neverallow rules
2928 "rules\n");
2971 * rules of a tunable would be added to te_avtab permanently. Whereas