Home
last modified time | relevance | path

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

/linux-6.12.1/security/smack/
Dsmack.h120 struct task_smack { struct
280 int smk_tskacc(struct task_smack *, struct smack_known *,
326 static inline struct task_smack *smack_cred(const struct cred *cred) in smack_cred()
391 static inline struct smack_known *smk_of_task(const struct task_smack *tsp) in smk_of_task()
415 static inline struct smack_known *smk_of_forked(const struct task_smack *tsp) in smk_of_forked()
Dsmack_lsm.c154 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_current()
175 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_task()
197 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_inode()
227 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_file()
257 struct task_smack *tsp = smack_cred(cred); in smk_bu_credfile()
340 static void init_task_smack(struct task_smack *tsp, struct smack_known *task, in init_task_smack()
435 struct task_smack *tsp; in smk_ptrace_rule_check()
921 struct task_smack *bsp = smack_cred(bprm->cred); in smack_bprm_creds_for_exec()
996 struct task_smack *tsp = smack_cred(current_cred()); in smack_inode_init_security()
1821 struct task_smack *tsp; in smack_mmap_file()
[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.c2225 struct task_smack *tsp = smack_cred(current_cred()); in load_self_seq_start()
2232 struct task_smack *tsp = smack_cred(current_cred()); in load_self_seq_next()
2279 struct task_smack *tsp = smack_cred(current_cred()); in smk_write_load_self()
2434 struct task_smack *tsp = smack_cred(current_cred()); in load_self2_seq_start()
2441 struct task_smack *tsp = smack_cred(current_cred()); in load_self2_seq_next()
2487 struct task_smack *tsp = smack_cred(current_cred()); in smk_write_load_self2()
2705 struct task_smack *tsp = smack_cred(current_cred()); in relabel_self_seq_start()
2712 struct task_smack *tsp = smack_cred(current_cred()); in relabel_self_seq_next()
2788 struct task_smack *tsp; in smk_write_relabel_self()