Lines Matching refs:rule
45 struct rule { struct
53 TAILQ_ENTRY(rule) r_entries; argument
58 TAILQ_HEAD(rulehead, rule) head;
66 struct rule *r; in toast_rules()
75 parse_rule_element(char *element, struct rule **rule) in parse_rule_element() argument
79 struct rule *new; in parse_rule_element()
126 *rule = NULL; in parse_rule_element()
128 *rule = new; in parse_rule_element()
135 struct rule *new; in parse_rules()
410 rule_is_valid(struct ucred *cred, struct rule *r) in rule_is_valid()
422 struct rule *r; in priv_grant()
424 struct mac_do_rule *rule; in priv_grant() local
429 rule = mac_do_rule_find(cred->cr_prison, &pr); in priv_grant()
430 TAILQ_FOREACH(r, &rule->head, r_entries) { in priv_grant()
449 struct rule *r; in check_setgroups()
453 struct mac_do_rule *rule; in check_setgroups() local
468 rule = mac_do_rule_find(cred->cr_prison, &pr); in check_setgroups()
469 TAILQ_FOREACH(r, &rule->head, r_entries) { in check_setgroups()
483 struct rule *r; in check_setuid()
488 struct mac_do_rule *rule; in check_setuid() local
504 rule = mac_do_rule_find(cred->cr_prison, &pr); in check_setuid()
505 TAILQ_FOREACH(r, &rule->head, r_entries) { in check_setuid()