Lines Matching refs:source_rule
1816 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule_helper() argument
1828 if (source_rule->flags & RULE_SELF) { in expand_rule_helper()
1829 if (source_rule->specified & AVRULE_AV) { in expand_rule_helper()
1830 retval = expand_avrule_helper(handle, source_rule->specified, in expand_rule_helper()
1831 cond, i, i, source_rule->perms, in expand_rule_helper()
1837 source_rule->specified, cond, in expand_rule_helper()
1838 other, i, i, source_rule->perms, in expand_rule_helper()
1847 if (source_rule->specified & AVRULE_AV) { in expand_rule_helper()
1848 retval = expand_avrule_helper(handle, source_rule->specified, in expand_rule_helper()
1849 cond, i, j, source_rule->perms, in expand_rule_helper()
1855 source_rule->specified, cond, in expand_rule_helper()
1856 other, i, j, source_rule->perms, in expand_rule_helper()
1875 avrule_t * source_rule, avtab_t * dest_avtab, in convert_and_expand_rule() argument
1884 if (!do_neverallow && source_rule->specified & AVRULE_NEVERALLOW) in convert_and_expand_rule()
1891 alwaysexpand = ((source_rule->specified & AVRULE_TYPE) || in convert_and_expand_rule()
1892 (source_rule->flags & RULE_SELF)); in convert_and_expand_rule()
1895 (dest_pol, typemap, &source_rule->stypes, &stypes, alwaysexpand)) in convert_and_expand_rule()
1898 (dest_pol, typemap, &source_rule->ttypes, &ttypes, alwaysexpand)) in convert_and_expand_rule()
1902 source_rule, dest_avtab, in convert_and_expand_rule()
2299 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule() argument
2305 if (source_rule->specified & AVRULE_NEVERALLOW) in expand_rule()
2311 if (type_set_expand(&source_rule->stypes, &stypes, source_pol, 1)) in expand_rule()
2313 if (type_set_expand(&source_rule->ttypes, &ttypes, source_pol, 1)) in expand_rule()
2316 source_rule, dest_avtab, in expand_rule()
2514 avrule_t * source_rule) in copy_neverallow() argument
2524 (dest_pol, typemap, &source_rule->stypes, &stypes, 1)) in copy_neverallow()
2527 (dest_pol, typemap, &source_rule->ttypes, &ttypes, 1)) in copy_neverallow()
2536 avrule->line = source_rule->line; in copy_neverallow()
2537 avrule->flags = source_rule->flags; in copy_neverallow()
2545 cur_perm = source_rule->perms; in copy_neverallow()