Home
last modified time | relevance | path

Searched refs:selinux_cred (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/security/selinux/include/
Dobjsec.h151 static inline struct task_security_struct *selinux_cred(const struct cred *cred) in selinux_cred() function
186 const struct task_security_struct *tsec = selinux_cred(current_cred()); in current_sid()
/linux-6.1.9/security/selinux/
Dxfrm.c79 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_xfrm_alloc_user()
138 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_xfrm_delete()
Dhooks.c216 tsec = selinux_cred(unrcu_pointer(current->real_cred)); in cred_init_security()
227 tsec = selinux_cred(cred); in cred_sid()
403 const struct task_security_struct *tsec = selinux_cred(cred); in may_context_mount_sb_relabel()
422 const struct task_security_struct *tsec = selinux_cred(cred); in may_context_mount_inode_relabel()
1763 const struct task_security_struct *tsec = selinux_cred(current_cred()); in may_create()
2291 old_tsec = selinux_cred(current_cred()); in selinux_bprm_creds_for_exec()
2292 new_tsec = selinux_cred(bprm->cred); in selinux_bprm_creds_for_exec()
2456 new_tsec = selinux_cred(bprm->cred); in selinux_bprm_committing_creds()
2499 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_bprm_committed_creds()
2834 rc = selinux_determine_inode_label(selinux_cred(current_cred()), in selinux_dentry_init_security()
[all …]