Home
last modified time | relevance | path

Searched refs:crsec (Results 1 – 2 of 2) sorted by relevance

/linux/security/selinux/
H A Dhooks.c215 struct cred_security_struct *crsec; in cred_init_security() local
219 crsec = selinux_cred(unrcu_pointer(current->real_cred)); in cred_init_security()
220 crsec->osid = crsec->sid = SECINITSID_KERNEL; in cred_init_security()
228 const struct cred_security_struct *crsec; in cred_sid() local
230 crsec = selinux_cred(cred); in cred_sid()
231 return crsec->sid; in cred_sid()
442 const struct cred_security_struct *crsec = selinux_cred(cred); in may_context_mount_sb_relabel() local
445 rc = avc_has_perm(crsec->sid, sbsec->sid, SECCLASS_FILESYSTEM, in may_context_mount_sb_relabel()
450 rc = avc_has_perm(crsec in may_context_mount_sb_relabel()
459 const struct cred_security_struct *crsec = selinux_cred(cred); may_context_mount_inode_relabel() local
1821 selinux_determine_inode_label(const struct cred_security_struct * crsec,struct inode * dir,const struct qstr * name,u16 tclass,u32 * _new_isid) selinux_determine_inode_label() argument
1850 const struct cred_security_struct *crsec = selinux_cred(current_cred()); may_create() local
2566 const struct cred_security_struct *crsec = selinux_cred(current_cred()); selinux_bprm_committed_creds() local
2949 struct cred_security_struct *crsec; selinux_dentry_create_files_as() local
2967 const struct cred_security_struct *crsec = selinux_cred(current_cred()); selinux_inode_init_security() local
3705 struct cred_security_struct *crsec; selinux_inode_copy_up() local
3743 const struct cred_security_struct *crsec = selinux_cred(current_cred()); selinux_kernfs_init_security() local
4299 struct cred_security_struct *crsec = selinux_cred(new); selinux_cred_prepare() local
4311 struct cred_security_struct *crsec = selinux_cred(new); selinux_cred_transfer() local
4332 struct cred_security_struct *crsec = selinux_cred(new); selinux_kernel_act_as() local
4356 struct cred_security_struct *crsec = selinux_cred(new); selinux_kernel_create_files_as() local
4882 socket_sockcreate_sid(const struct cred_security_struct * crsec,u16 secclass,u32 * socksid) socket_sockcreate_sid() argument
4935 const struct cred_security_struct *crsec = selinux_cred(current_cred()); selinux_socket_create() local
4954 const struct cred_security_struct *crsec = selinux_cred(current_cred()); selinux_socket_post_create() local
6664 const struct cred_security_struct *crsec; selinux_lsm_getattr() local
6719 struct cred_security_struct *crsec; selinux_lsm_setattr() local
7014 const struct cred_security_struct *crsec; selinux_key_alloc() local
[all...]
/linux/security/selinux/include/
H A Dobjsec.h232 const struct cred_security_struct *crsec = selinux_cred(current_cred()); in current_sid() local
234 return crsec->sid; in current_sid()