Searched refs:srp (Results 1 – 3 of 3) sorted by relevance
/security/smack/ |
D | smackfs.c | 162 static int smk_set_access(struct smack_rule *srp, struct list_head *rule_list, in smk_set_access() argument 175 if (sp->smk_object == srp->smk_object && in smk_set_access() 176 sp->smk_subject == srp->smk_subject) { in smk_set_access() 178 sp->smk_access = srp->smk_access; in smk_set_access() 183 list_add_rcu(&srp->list, rule_list); in smk_set_access() 443 struct smack_rule *srp = smlp->smk_rule; in load_seq_show() local 445 seq_printf(s, "%s %s", (char *)srp->smk_subject, in load_seq_show() 446 (char *)srp->smk_object); in load_seq_show() 450 if (srp->smk_access & MAY_READ) in load_seq_show() 452 if (srp->smk_access & MAY_WRITE) in load_seq_show() [all …]
|
D | smack_access.c | 98 struct smack_rule *srp; in smk_access_entry() local 100 list_for_each_entry_rcu(srp, rule_list, list) { in smk_access_entry() 101 if (srp->smk_object == object_label && in smk_access_entry() 102 srp->smk_subject == subject_label) { in smk_access_entry() 103 may = srp->smk_access; in smk_access_entry()
|
D | smack_lsm.c | 1179 struct smack_rule *srp; in smack_file_mmap() local 1220 list_for_each_entry_rcu(srp, &skp->smk_rules, list) { in smack_file_mmap() 1221 osmack = srp->smk_object; in smack_file_mmap() 1231 may = smk_access_entry(srp->smk_subject, osmack, in smack_file_mmap() 1234 may = srp->smk_access; in smack_file_mmap() 1236 may &= srp->smk_access; in smack_file_mmap()
|