Home
last modified time | relevance | path

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

/openbmc/linux/security/smack/
H A Dsmack_lsm.c255 struct task_smack *tsp = smack_cred(cred); in smk_bu_credfile()
445 tsp = smack_cred(tracercred); in smk_ptrace_rule_check()
1811 tsp = smack_cred(current_cred()); in smack_mmap_file()
1964 tsp = smack_cred(current_cred()); in smack_file_receive()
2117 skp = smk_of_task(smack_cred(cred)); in smack_cred_getsecid()
2344 skp = smk_of_task(smack_cred(cred)); in smack_task_kill()
3720 tsp = smack_cred(new); in smack_setprocattr()
4594 subj = smk_of_task(smack_cred(cred)); in smack_post_notification()
4808 tsp = smack_cred(new_creds); in smack_inode_copy_up()
4931 tsp = smack_cred(file->f_cred); in smack_uring_cmd()
[all …]
H A Dsmack.h326 static inline struct task_smack *smack_cred(const struct cred *cred) in smack_cred() function
393 skp = smk_of_task(smack_cred(cred)); in smk_of_task_struct_obj()
413 return smk_of_task(smack_cred(current_cred())); in smk_of_current()
H A 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()
2795 tsp = smack_cred(new); in smk_write_relabel_self()
H A 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()