Home
last modified time | relevance | path

Searched refs:smack_known (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/security/smack/
Dsmack.h66 struct smack_known { struct
86 struct smack_known *smk_root; argument
87 struct smack_known *smk_floor;
88 struct smack_known *smk_hat;
89 struct smack_known *smk_default;
100 struct smack_known *smk_out; /* outbound label */
101 struct smack_known *smk_in; /* inbound label */
102 struct smack_known *smk_packet; /* TCP peer label */
114 struct smack_known *smk_inode; /* label of the fso */
115 struct smack_known *smk_task; /* label of the task */
[all …]
Dsmack_access.c15 struct smack_known smack_known_huh = {
20 struct smack_known smack_known_hat = {
25 struct smack_known smack_known_star = {
30 struct smack_known smack_known_floor = {
35 struct smack_known smack_known_web = {
115 int smk_access(struct smack_known *subject, struct smack_known *object, in smk_access()
218 int smk_tskacc(struct task_smack *tsp, struct smack_known *obj_known, in smk_tskacc()
221 struct smack_known *sbj_known = smk_of_task(tsp); in smk_tskacc()
270 int smk_curacc(struct smack_known *obj_known, in smk_curacc()
401 void smk_insert_entry(struct smack_known *skp) in smk_insert_entry()
[all …]
Dsmack_lsm.c117 static int smk_bu_note(char *note, struct smack_known *sskp, in smk_bu_note()
118 struct smack_known *oskp, int mode, int rc) in smk_bu_note()
137 static int smk_bu_current(char *note, struct smack_known *oskp, in smk_bu_current()
162 struct smack_known *smk_task = smk_of_task_struct(otp); in smk_bu_task()
214 struct smack_known *sskp = tsp->smk_task; in smk_bu_file()
244 struct smack_known *sskp = tsp->smk_task; in smk_bu_credfile()
278 static struct smack_known *smk_fetch(const char *name, struct inode *ip, in smk_fetch()
283 struct smack_known *skp = NULL; in smk_fetch()
311 static void init_inode_smack(struct inode *inode, struct smack_known *skp) in init_inode_smack()
326 static void init_task_smack(struct task_smack *tsp, struct smack_known *task, in init_task_smack()
[all …]
Dsmackfs.c79 struct smack_known *smack_net_ambient;
102 struct smack_known *smack_unconfined;
109 struct smack_known *smack_syslog_label;
135 struct smack_known *smk_subject;
136 struct smack_known *smk_object;
184 struct smack_known *skp = smk_of_current(); in smk_netlabel_audit_set()
320 struct smack_known *skp; in smk_fill_rule()
621 struct smack_known *skp = in load_seq_show()
622 list_entry_rcu(list, struct smack_known, list); in load_seq_show()
768 struct smack_known *skp = in cipso_seq_show()
[all …]
Dsmack_netfilter.c29 struct smack_known *skp; in smack_ipv6_output()
47 struct smack_known *skp; in smack_ipv4_output()