Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/smack/
Dsmack.h120 struct task_smack { struct
288 int smk_tskacc(struct task_smack *, struct smack_known *,
334 static inline struct task_smack *smack_cred(const struct cred *cred) in smack_cred()
381 static inline struct smack_known *smk_of_task(const struct task_smack *tsp) in smk_of_task()
405 static inline struct smack_known *smk_of_forked(const struct task_smack *tsp) in smk_of_forked()
Dsmack_lsm.c140 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_current()
161 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_task()
183 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_inode()
213 struct task_smack *tsp = smack_cred(current_cred()); in smk_bu_file()
243 struct task_smack *tsp = smack_cred(cred); in smk_bu_credfile()
326 static void init_task_smack(struct task_smack *tsp, struct smack_known *task, in init_task_smack()
421 struct task_smack *tsp; in smk_ptrace_rule_check()
899 struct task_smack *bsp = smack_cred(bprm->cred); in smack_bprm_creds_for_exec()
1653 struct task_smack *tsp; in smack_mmap_file()
1818 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()
2422 struct task_smack *tsp = smack_cred(current_cred()); in load_self2_seq_start()
2429 struct task_smack *tsp = smack_cred(current_cred()); in load_self2_seq_next()
2475 struct task_smack *tsp = smack_cred(current_cred()); in smk_write_load_self2()
2693 struct task_smack *tsp = smack_cred(current_cred()); in relabel_self_seq_start()
2700 struct task_smack *tsp = smack_cred(current_cred()); in relabel_self_seq_next()
2776 struct task_smack *tsp; in smk_write_relabel_self()