Lines Matching defs:rule
337 * smk_copy_rules - copy a rule set
457 /* In case of rule==SMACK_PTRACE_DEFAULT or mode==PTRACE_MODE_READ */
999 * if the access rule allows transmutation and the directory
1712 * For each Smack rule associated with the subject
1714 * to that rule's object label.
1724 * If there is a matching local rule take
1997 /* cbs copy rule list */
4465 * rule. This unique representation is used to distinguish the
4470 * the smack_known label address related to the given audit rule as
4477 * smack_audit_rule_init - Initialize a smack audit rule
4478 * @field: audit rule fields given from user-space (audit.h)
4481 * @vrule: pointer to save our own audit rule representation
4489 char **rule = (char **)vrule;
4490 *rule = NULL;
4502 *rule = skp->smk_known;
4509 * @krule: rule of interest, in Audit kernel representation format
4512 * If it's proved that this rule belongs to us, the
4533 * @field: audit rule flags given from user-space
4535 * @vrule: smack internal rule presentation
4543 char *rule = vrule;
4545 if (unlikely(!rule)) {
4546 WARN_ONCE(1, "Smack: missing rule\n");
4561 return (rule == skp->smk_known);
4563 return (rule != skp->smk_known);
4713 * If the directory is transmuting and the rule
4883 * Initialize rule list locks
4891 * Initialize rule lists