Home
last modified time | relevance | path

Searched refs:tsec (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/security/selinux/
H A Dhooks.c213 struct task_security_struct *tsec; in cred_init_security() local
215 tsec = selinux_cred(unrcu_pointer(current->real_cred)); in cred_init_security()
216 tsec->osid = tsec->sid = SECINITSID_KERNEL; in cred_init_security()
224 const struct task_security_struct *tsec; in cred_sid() local
226 tsec = selinux_cred(cred); in cred_sid()
227 return tsec->sid; in cred_sid()
427 const struct task_security_struct *tsec = selinux_cred(cred); in may_context_mount_sb_relabel() local
430 rc = avc_has_perm(tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel()
435 rc = avc_has_perm(tsec in may_context_mount_sb_relabel()
444 const struct task_security_struct *tsec = selinux_cred(cred); may_context_mount_inode_relabel() local
1770 selinux_determine_inode_label(const struct task_security_struct *tsec, struct inode *dir, const struct qstr *name, u16 tclass, u32 *_new_isid) selinux_determine_inode_label() argument
1799 const struct task_security_struct *tsec = selinux_cred(current_cred()); may_create() local
2505 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_bprm_committed_creds() local
2887 struct task_security_struct *tsec; selinux_dentry_create_files_as() local
2905 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_inode_init_security() local
2951 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_inode_init_security_anon() local
3502 struct task_security_struct *tsec; selinux_inode_copy_up() local
3539 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_kernfs_init_security() local
3991 struct task_security_struct *tsec = selinux_cred(new); selinux_cred_prepare() local
4003 struct task_security_struct *tsec = selinux_cred(new); selinux_cred_transfer() local
4019 struct task_security_struct *tsec = selinux_cred(new); selinux_kernel_act_as() local
4043 struct task_security_struct *tsec = selinux_cred(new); selinux_kernel_create_files_as() local
4557 socket_sockcreate_sid(const struct task_security_struct *tsec, u16 secclass, u32 *socksid) socket_sockcreate_sid() argument
4587 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_socket_create() local
4606 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_socket_post_create() local
5535 const struct task_security_struct *tsec; selinux_secmark_relabel_packet() local
6367 struct task_security_struct *tsec; selinux_setprocattr() local
6567 const struct task_security_struct *tsec; selinux_key_alloc() local
[all...]
H A Dxfrm.c79 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_xfrm_alloc_user() local
106 rc = avc_has_perm(tsec->sid, ctx->ctx_sid, in selinux_xfrm_alloc_user()
137 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_xfrm_delete() local
142 return avc_has_perm(tsec->sid, ctx->ctx_sid, in selinux_xfrm_delete()
/kernel/linux/linux-5.10/security/selinux/
H A Dxfrm.c79 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_xfrm_alloc_user() local
107 tsec->sid, ctx->ctx_sid, in selinux_xfrm_alloc_user()
138 const struct task_security_struct *tsec = selinux_cred(current_cred()); in selinux_xfrm_delete() local
144 tsec->sid, ctx->ctx_sid, in selinux_xfrm_delete()
H A Dhooks.c217 struct task_security_struct *tsec; in cred_init_security() local
219 tsec = selinux_cred(cred); in cred_init_security()
220 tsec->osid = tsec->sid = SECINITSID_KERNEL; in cred_init_security()
228 const struct task_security_struct *tsec; in cred_sid() local
230 tsec = selinux_cred(cred); in cred_sid()
231 return tsec->sid; in cred_sid()
415 const struct task_security_struct *tsec = selinux_cred(cred); in may_context_mount_sb_relabel() local
419 tsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel()
425 tsec in may_context_mount_sb_relabel()
434 const struct task_security_struct *tsec = selinux_cred(cred); may_context_mount_inode_relabel() local
1758 selinux_determine_inode_label(const struct task_security_struct *tsec, struct inode *dir, const struct qstr *name, u16 tclass, u32 *_new_isid) selinux_determine_inode_label() argument
1786 const struct task_security_struct *tsec = selinux_cred(current_cred()); may_create() local
2522 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_bprm_committed_creds() local
2879 struct task_security_struct *tsec; selinux_dentry_create_files_as() local
2898 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_inode_init_security() local
3438 struct task_security_struct *tsec; selinux_inode_copy_up() local
3475 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_kernfs_init_security() local
3943 struct task_security_struct *tsec = selinux_cred(new); selinux_cred_prepare() local
3955 struct task_security_struct *tsec = selinux_cred(new); selinux_cred_transfer() local
3971 struct task_security_struct *tsec = selinux_cred(new); selinux_kernel_act_as() local
3996 struct task_security_struct *tsec = selinux_cred(new); selinux_kernel_create_files_as() local
4513 socket_sockcreate_sid(const struct task_security_struct *tsec, u16 secclass, u32 *socksid) socket_sockcreate_sid() argument
4546 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_socket_create() local
4566 const struct task_security_struct *tsec = selinux_cred(current_cred()); selinux_socket_post_create() local
6388 struct task_security_struct *tsec; selinux_setprocattr() local
6595 const struct task_security_struct *tsec; selinux_key_alloc() local
[all...]
/kernel/linux/linux-5.10/security/selinux/include/
H A Dobjsec.h187 const struct task_security_struct *tsec = selinux_cred(current_cred()); in current_sid() local
189 return tsec->sid; in current_sid()
/kernel/linux/linux-6.6/security/selinux/include/
H A Dobjsec.h186 const struct task_security_struct *tsec = selinux_cred(current_cred()); in current_sid() local
188 return tsec->sid; in current_sid()
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-ds1216.c16 u8 tsec; member
113 regs.tsec = 0; /* clear 0.1 and 0.01 seconds */ in ds1216_rtc_set_time()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-ds1216.c16 u8 tsec; member
113 regs.tsec = 0; /* clear 0.1 and 0.01 seconds */ in ds1216_rtc_set_time()

Completed in 14 milliseconds