Searched refs:selinux_cred (Results 1 – 3 of 3) sorted by relevance
148 static inline struct task_security_struct *selinux_cred(const struct cred *cred) in selinux_cred() function183 const struct task_security_struct *tsec = selinux_cred(current_cred()); in current_sid()
79 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()
213 tsec = selinux_cred(cred); in cred_init_security()224 tsec = selinux_cred(cred); in cred_sid()463 const struct task_security_struct *tsec = selinux_cred(cred); in may_context_mount_sb_relabel()482 const struct task_security_struct *tsec = selinux_cred(cred); in may_context_mount_inode_relabel()1814 const struct task_security_struct *tsec = selinux_cred(current_cred()); in may_create()1836 rc = selinux_determine_inode_label(selinux_cred(current_cred()), dir, in may_create()2343 old_tsec = selinux_cred(current_cred()); in selinux_bprm_set_creds()2344 new_tsec = selinux_cred(bprm->cred); in selinux_bprm_set_creds()2508 new_tsec = selinux_cred(bprm->cred); in selinux_bprm_committing_creds()2551 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_bprm_committed_creds()[all …]