Home
last modified time | relevance | path

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

/linux-6.1.9/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()
402 void smk_insert_entry(struct smack_known *skp) in smk_insert_entry()
[all …]
Dsmack_lsm.c120 static int smk_bu_note(char *note, struct smack_known *sskp, in smk_bu_note()
121 struct smack_known *oskp, int mode, int rc) in smk_bu_note()
140 static int smk_bu_current(char *note, struct smack_known *oskp, in smk_bu_current()
165 struct smack_known *smk_task = smk_of_task_struct_obj(otp); in smk_bu_task()
217 struct smack_known *sskp = tsp->smk_task; in smk_bu_file()
247 struct smack_known *sskp = tsp->smk_task; in smk_bu_credfile()
281 static struct smack_known *smk_fetch(const char *name, struct inode *ip, in smk_fetch()
286 struct smack_known *skp = NULL; in smk_fetch()
314 static void init_inode_smack(struct inode *inode, struct smack_known *skp) in init_inode_smack()
329 static void init_task_smack(struct task_smack *tsp, struct smack_known *task, in init_task_smack()
[all …]
Dsmackfs.c80 struct smack_known *smack_net_ambient;
103 struct smack_known *smack_unconfined;
110 struct smack_known *smack_syslog_label;
136 struct smack_known *smk_subject;
137 struct smack_known *smk_object;
185 struct smack_known *skp = smk_of_current(); in smk_netlabel_audit_set()
321 struct smack_known *skp; in smk_fill_rule()
622 struct smack_known *skp = in load_seq_show()
623 list_entry_rcu(list, struct smack_known, list); in load_seq_show()
769 struct smack_known *skp = in cipso_seq_show()
[all …]
Dsmack_netfilter.c27 struct smack_known *skp; in smack_ip_output()