Home
last modified time | relevance | path

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

/linux-6.1.9/security/smack/
Dsmack.h120 struct task_smack { struct
279 int smk_tskacc(struct task_smack *, struct smack_known *,
325 static inline struct task_smack *smack_cred(const struct cred *cred) in smack_cred()
378 static inline struct smack_known *smk_of_task(const struct task_smack *tsp) in smk_of_task()
402 static inline struct smack_known *smk_of_forked(const struct task_smack *tsp) in smk_of_forked()
Dsmack_lsm.c143 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_current()
164 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_task()
186 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_inode()
216 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_file()
246 struct task_smack *tsp = smack_cred(cred); in smk_bu_credfile()
329 static void init_task_smack(struct task_smack *tsp, struct smack_known *task, in init_task_smack()
424 struct task_smack *tsp; in smk_ptrace_rule_check()
876 struct task_smack *bsp = smack_cred(bprm->cred); in smack_bprm_creds_for_exec()
1636 struct task_smack *tsp; in smack_mmap_file()
1801 struct task_smack *tsp; in smack_file_receive()
[all …]
Dsmack_access.c218 int smk_tskacc(struct task_smack *tsp, struct smack_known *obj_known, in smk_tskacc()
273 struct task_smack *tsp = smack_cred(current_cred()); in smk_curacc()
652 struct task_smack *tsp = smack_cred(cred); in smack_privileged_cred()
Dsmackfs.c2214 struct task_smack *tsp = smack_cred(current_cred()); in load_self_seq_start()
2221 struct task_smack *tsp = smack_cred(current_cred()); in load_self_seq_next()
2268 struct task_smack *tsp = smack_cred(current_cred()); in smk_write_load_self()
2423 struct task_smack *tsp = smack_cred(current_cred()); in load_self2_seq_start()
2430 struct task_smack *tsp = smack_cred(current_cred()); in load_self2_seq_next()
2476 struct task_smack *tsp = smack_cred(current_cred()); in smk_write_load_self2()
2694 struct task_smack *tsp = smack_cred(current_cred()); in relabel_self_seq_start()
2701 struct task_smack *tsp = smack_cred(current_cred()); in relabel_self_seq_next()
2777 struct task_smack *tsp; in smk_write_relabel_self()