Lines Matching defs:rule
349 * smk_copy_rules - copy a rule set
469 /* In case of rule==SMACK_PTRACE_DEFAULT or mode==PTRACE_MODE_READ */
1015 * if the access rule allows transmutation and the directory
1817 * For each Smack rule associated with the subject
1819 * to that rule's object label.
1829 * If there is a matching local rule take
2102 /* cbs copy rule list */
4602 * rule. This unique representation is used to distinguish the
4607 * the smack_known label address related to the given audit rule as
4614 * smack_audit_rule_init - Initialize a smack audit rule
4615 * @field: audit rule fields given from user-space (audit.h)
4618 * @vrule: pointer to save our own audit rule representation
4626 char **rule = (char **)vrule;
4627 *rule = NULL;
4639 *rule = skp->smk_known;
4646 * @krule: rule of interest, in Audit kernel representation format
4649 * If it's proved that this rule belongs to us, the
4670 * @field: audit rule flags given from user-space
4672 * @vrule: smack internal rule presentation
4680 char *rule = vrule;
4682 if (unlikely(!rule)) {
4683 WARN_ONCE(1, "Smack: missing rule\n");
4698 return (rule == skp->smk_known);
4700 return (rule != skp->smk_known);
4852 * If the directory is transmuting and the rule
5106 * Initialize rule list locks
5114 * Initialize rule lists