Home
last modified time | relevance | path

Searched refs:smk_subject (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/security/smack/
Dsmackfs.c135 struct smack_known *smk_subject; member
227 sp->smk_subject == srp->smk_subject) { in smk_set_access()
242 sp->smk_subject = srp->smk_subject; in smk_set_access()
323 rule->smk_subject = smk_import_entry(subject, len); in smk_fill_rule()
324 if (IS_ERR(rule->smk_subject)) in smk_fill_rule()
325 return PTR_ERR(rule->smk_subject); in smk_fill_rule()
338 rule->smk_subject = skp; in smk_fill_rule()
512 rc = smk_set_access(&rule, &rule.smk_subject->smk_rules, in smk_write_rules_list()
513 &rule.smk_subject->smk_rules_lock); in smk_write_rules_list()
572 if (strlen(srp->smk_subject->smk_known) >= max || in smk_rule_show()
[all …]
Dsmack.h138 struct smack_known *smk_subject; member
Dsmack_access.c88 srp->smk_subject->smk_known == subject_label) { in smk_access_entry()
Dsmack_lsm.c1698 may = smk_access_entry(srp->smk_subject->smk_known, in smack_mmap_file()