Home
last modified time | relevance | path

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

/linux-6.1.9/security/smack/
Dsmack_access.c169 &subject->smk_rules); in smk_access()
236 &tsp->smk_rules); in smk_tskacc()
584 INIT_LIST_HEAD(&skp->smk_rules); in smk_import_entry()
Dsmack.h72 struct list_head smk_rules; /* access rules */ member
123 struct list_head smk_rules; /* per task access rules */ member
Dsmackfs.c513 rc = smk_set_access(&rule, &rule.smk_subject->smk_rules, in smk_write_rules_list()
625 list_for_each_entry_rcu(srp, &skp->smk_rules, list) in load_seq_show()
2216 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self_seq_start()
2223 return smk_seq_next(s, v, pos, &tsp->smk_rules); in load_self_seq_next()
2270 return smk_write_rules_list(file, buf, count, ppos, &tsp->smk_rules, in smk_write_load_self()
2363 list_for_each_entry_rcu(srp, &skp->smk_rules, list) in load2_seq_show()
2425 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self2_seq_start()
2432 return smk_seq_next(s, v, pos, &tsp->smk_rules); in load_self2_seq_next()
2478 return smk_write_rules_list(file, buf, count, ppos, &tsp->smk_rules, in smk_write_load_self2()
2551 rule_list = &skp->smk_rules; in smk_write_revoke_subj()
Dsmack_lsm.c334 INIT_LIST_HEAD(&tsp->smk_rules); in init_task_smack()
964 &skp->smk_rules); in smack_inode_init_security()
1670 list_for_each_entry_rcu(srp, &skp->smk_rules, list) { in smack_mmap_file()
1683 &tsp->smk_rules); in smack_mmap_file()
1701 &mkp->smk_rules); in smack_mmap_file()
1711 &tsp->smk_rules); in smack_mmap_file()
1901 list_for_each_safe(l, n, &tsp->smk_rules) { in smack_cred_free()
1925 rc = smk_copy_rules(&new_tsp->smk_rules, &old_tsp->smk_rules, gfp); in smack_cred_prepare()
1949 INIT_LIST_HEAD(&new_tsp->smk_rules); in smack_cred_transfer()
4695 &otsp->smk_task->smk_rules); in smack_dentry_create_files_as()
[all …]