Lines Matching refs:source_rule

1887 			      avrule_t * source_rule, avtab_t * dest_avtab,  in expand_rule_helper()  argument
1899 if (source_rule->flags & RULE_SELF) { in expand_rule_helper()
1900 if (source_rule->specified & (AVRULE_AV | AVRULE_OP)) { in expand_rule_helper()
1901 retval = expand_avrule_helper(handle, source_rule->specified, in expand_rule_helper()
1902 cond, i, i, source_rule->perms, in expand_rule_helper()
1903 dest_avtab, enabled, source_rule->ops); in expand_rule_helper()
1908 source_rule->specified, cond, in expand_rule_helper()
1909 other, i, i, source_rule->perms, in expand_rule_helper()
1918 if (source_rule->specified & (AVRULE_AV | AVRULE_OP)) { in expand_rule_helper()
1919 retval = expand_avrule_helper(handle, source_rule->specified, in expand_rule_helper()
1920 cond, i, j, source_rule->perms, in expand_rule_helper()
1921 dest_avtab, enabled, source_rule->ops); in expand_rule_helper()
1926 source_rule->specified, cond, in expand_rule_helper()
1927 other, i, j, source_rule->perms, in expand_rule_helper()
1946 avrule_t * source_rule, avtab_t * dest_avtab, in convert_and_expand_rule() argument
1955 if (!do_neverallow && source_rule->specified & AVRULE_NEVERALLOW) in convert_and_expand_rule()
1962 alwaysexpand = ((source_rule->specified & AVRULE_TYPE) || in convert_and_expand_rule()
1963 (source_rule->flags & RULE_SELF)); in convert_and_expand_rule()
1966 (dest_pol, typemap, &source_rule->stypes, &stypes, alwaysexpand)) in convert_and_expand_rule()
1969 (dest_pol, typemap, &source_rule->ttypes, &ttypes, alwaysexpand)) in convert_and_expand_rule()
1973 source_rule, dest_avtab, in convert_and_expand_rule()
2373 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule() argument
2379 if (source_rule->specified & AVRULE_NEVERALLOW) in expand_rule()
2385 if (type_set_expand(&source_rule->stypes, &stypes, source_pol, 1)) in expand_rule()
2387 if (type_set_expand(&source_rule->ttypes, &ttypes, source_pol, 1)) in expand_rule()
2390 source_rule, dest_avtab, in expand_rule()
2588 avrule_t * source_rule) in copy_neverallow() argument
2598 (dest_pol, typemap, &source_rule->stypes, &stypes, 1)) in copy_neverallow()
2601 (dest_pol, typemap, &source_rule->ttypes, &ttypes, 1)) in copy_neverallow()
2610 avrule->line = source_rule->line; in copy_neverallow()
2611 avrule->flags = source_rule->flags; in copy_neverallow()
2612 avrule->source_line = source_rule->source_line; in copy_neverallow()
2613 if (source_rule->source_filename) { in copy_neverallow()
2614 avrule->source_filename = strdup(source_rule->source_filename); in copy_neverallow()
2625 cur_perm = source_rule->perms; in copy_neverallow()