• Home
  • Raw
  • Download

Lines Matching refs:source_rule

1906 			      avrule_t * source_rule, avtab_t * dest_avtab,  in expand_rule_helper()  argument
1918 if (source_rule->flags & RULE_SELF) { in expand_rule_helper()
1919 if (source_rule->specified & (AVRULE_AV | AVRULE_XPERMS)) { in expand_rule_helper()
1920 retval = expand_avrule_helper(handle, source_rule->specified, in expand_rule_helper()
1921 cond, i, i, source_rule->perms, in expand_rule_helper()
1922 dest_avtab, enabled, source_rule->xperms); in expand_rule_helper()
1927 source_rule->specified, cond, in expand_rule_helper()
1928 other, i, i, source_rule->perms, in expand_rule_helper()
1937 if (source_rule->specified & (AVRULE_AV | AVRULE_XPERMS)) { in expand_rule_helper()
1938 retval = expand_avrule_helper(handle, source_rule->specified, in expand_rule_helper()
1939 cond, i, j, source_rule->perms, in expand_rule_helper()
1940 dest_avtab, enabled, source_rule->xperms); in expand_rule_helper()
1945 source_rule->specified, cond, in expand_rule_helper()
1946 other, i, j, source_rule->perms, in expand_rule_helper()
1965 avrule_t * source_rule, avtab_t * dest_avtab, in convert_and_expand_rule() argument
1974 if (!do_neverallow && source_rule->specified & AVRULE_NEVERALLOW) in convert_and_expand_rule()
1976 if (!do_neverallow && source_rule->specified & AVRULE_XPERMS_NEVERALLOW) in convert_and_expand_rule()
1983 alwaysexpand = ((source_rule->specified & AVRULE_TYPE) || in convert_and_expand_rule()
1984 (source_rule->flags & RULE_SELF)); in convert_and_expand_rule()
1987 (dest_pol, typemap, &source_rule->stypes, &stypes, alwaysexpand)) in convert_and_expand_rule()
1990 (dest_pol, typemap, &source_rule->ttypes, &ttypes, alwaysexpand)) in convert_and_expand_rule()
1994 source_rule, dest_avtab, in convert_and_expand_rule()
2423 avrule_t * source_rule, avtab_t * dest_avtab, in expand_rule() argument
2429 if ((source_rule->specified & AVRULE_NEVERALLOW) in expand_rule()
2430 || (source_rule->specified & AVRULE_XPERMS_NEVERALLOW)) in expand_rule()
2436 if (type_set_expand(&source_rule->stypes, &stypes, source_pol, 1)) in expand_rule()
2438 if (type_set_expand(&source_rule->ttypes, &ttypes, source_pol, 1)) in expand_rule()
2441 source_rule, dest_avtab, in expand_rule()
2650 avrule_t * source_rule) in copy_neverallow() argument
2661 (dest_pol, typemap, &source_rule->stypes, &stypes, 1)) in copy_neverallow()
2664 (dest_pol, typemap, &source_rule->ttypes, &ttypes, 1)) in copy_neverallow()
2672 avrule->specified = source_rule->specified; in copy_neverallow()
2673 avrule->line = source_rule->line; in copy_neverallow()
2674 avrule->flags = source_rule->flags; in copy_neverallow()
2675 avrule->source_line = source_rule->source_line; in copy_neverallow()
2676 if (source_rule->source_filename) { in copy_neverallow()
2677 avrule->source_filename = strdup(source_rule->source_filename); in copy_neverallow()
2688 cur_perm = source_rule->perms; in copy_neverallow()
2712 if (source_rule->xperms) { in copy_neverallow()
2716 memcpy(xperms, source_rule->xperms, sizeof(av_extended_perms_t)); in copy_neverallow()