Lines Matching refs:current_cred
608 const struct cred *cred = current_cred(); in selinux_set_mnt_opts()
2071 const struct cred *cred = current_cred(); in selinux_quotactl()
2099 const struct cred *cred = current_cred(); in selinux_quota_on()
2143 rc = selinux_capable(current_cred(), &init_user_ns, CAP_SYS_ADMIN, in selinux_vm_enough_memory()
2661 const struct cred *cred = current_cred(); in selinux_sb_kern_mount()
2680 const struct cred *cred = current_cred(); in selinux_sb_statfs()
2694 const struct cred *cred = current_cred(); in selinux_mount()
2705 const struct cred *cred = current_cred(); in selinux_umount()
2727 const struct cred *cred = current_cred(); in selinux_dentry_init_security()
2860 const struct cred *cred = current_cred(); in selinux_inode_readlink()
2867 const struct cred *cred = current_cred(); in selinux_inode_follow_link()
2893 const struct cred *cred = current_cred(); in selinux_inode_permission()
2935 const struct cred *cred = current_cred(); in selinux_inode_setattr()
2959 return path_has_perm(current_cred(), path, FILE__GETATTR); in selinux_inode_getattr()
2964 const struct cred *cred = current_cred(); in selinux_inode_setotherxattr()
3090 const struct cred *cred = current_cred(); in selinux_inode_getxattr()
3097 const struct cred *cred = current_cred(); in selinux_inode_listxattr()
3136 error = selinux_capable(current_cred(), &init_user_ns, CAP_MAC_ADMIN, in selinux_inode_getsecurity()
3196 const struct cred *cred = current_cred(); in selinux_revalidate_file_permission()
3239 const struct cred *cred = current_cred(); in selinux_file_ioctl()
3287 const struct cred *cred = current_cred(); in file_map_prot_check()
3353 const struct cred *cred = current_cred(); in selinux_file_mprotect()
3387 const struct cred *cred = current_cred(); in selinux_file_lock()
3395 const struct cred *cred = current_cred(); in selinux_file_fcntl()
3464 const struct cred *cred = current_cred(); in selinux_file_receive()