Home
last modified time | relevance | path

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

/linux-6.1.9/security/smack/
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()
436 tsp = smack_cred(tracercred); in smk_ptrace_rule_check()
502 skp = smk_of_task(smack_cred(current_cred())); in smack_ptrace_traceme()
876 struct task_smack *bsp = smack_cred(bprm->cred); in smack_bprm_creds_for_exec()
1660 tsp = smack_cred(current_cred()); in smack_mmap_file()
1759 struct smack_known *tkp = smk_of_task(smack_cred(tsk->cred)); in smack_file_send_sigiotask()
[all …]
Dsmack.h325 static inline struct task_smack *smack_cred(const struct cred *cred) in smack_cred() function
392 skp = smk_of_task(smack_cred(cred)); in smk_of_task_struct_obj()
412 return smk_of_task(smack_cred(current_cred())); in smk_of_current()
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()
2784 tsp = smack_cred(new); in smk_write_relabel_self()
Dsmack_access.c273 struct task_smack *tsp = smack_cred(current_cred()); in smk_curacc()
652 struct task_smack *tsp = smack_cred(cred); in smack_privileged_cred()