Lines Matching refs:selinux_cred

216 	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()
2857 rc = selinux_determine_inode_label(selinux_cred(old), in selinux_dentry_create_files_as()
2864 tsec = selinux_cred(new); in selinux_dentry_create_files_as()
2874 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_inode_init_security()
2921 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_inode_init_security_anon()
3474 tsec = selinux_cred(new_creds); in selinux_inode_copy_up()
3502 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_kernfs_init_security()
3942 const struct task_security_struct *old_tsec = selinux_cred(old); in selinux_cred_prepare()
3943 struct task_security_struct *tsec = selinux_cred(new); in selinux_cred_prepare()
3954 const struct task_security_struct *old_tsec = selinux_cred(old); in selinux_cred_transfer()
3955 struct task_security_struct *tsec = selinux_cred(new); in selinux_cred_transfer()
3971 struct task_security_struct *tsec = selinux_cred(new); in selinux_kernel_act_as()
3996 struct task_security_struct *tsec = selinux_cred(new); in selinux_kernel_create_files_as()
4560 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_socket_create()
4580 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_socket_post_create()
5516 __tsec = selinux_cred(current_cred()); in selinux_secmark_relabel_packet()
6341 __tsec = selinux_cred(__task_cred(p)); in selinux_getprocattr()
6466 tsec = selinux_cred(new); in selinux_setprocattr()
6599 tsec = selinux_cred(cred); in selinux_key_alloc()