Lines Matching defs:cred
224 static inline u32 cred_sid(const struct cred *cred) in cred_sid()
438 const struct cred *cred) in may_context_mount_sb_relabel()
455 const struct cred *cred) in may_context_mount_inode_relabel()
642 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local
1633 static int cred_has_capability(const struct cred *cred, in cred_has_capability()
1671 static int inode_has_perm(const struct cred *cred, in inode_has_perm()
1691 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm()
1710 static inline int path_has_perm(const struct cred *cred, in path_has_perm()
1727 static inline int file_path_has_perm(const struct cred *cred, in file_path_has_perm()
1750 static int file_has_perm(const struct cred *cred, in file_has_perm()
1959 static int superblock_has_perm(const struct cred *cred, in superblock_has_perm()
2156 static int selinux_capable(const struct cred *cred, struct user_namespace *ns, in selinux_capable()
2164 const struct cred *cred = current_cred(); in selinux_quotactl() local
2199 const struct cred *cred = current_cred(); in selinux_quota_on() local
2433 static inline void flush_unauthorized_files(const struct cred *cred, in flush_unauthorized_files()
2752 const struct cred *cred = current_cred(); in selinux_sb_kern_mount() local
2762 const struct cred *cred = current_cred(); in selinux_sb_statfs() local
2776 const struct cred *cred = current_cred(); in selinux_mount() local
2788 const struct cred *cred = current_cred(); in selinux_move_mount() local
2795 const struct cred *cred = current_cred(); in selinux_umount() local
3071 const struct cred *cred = current_cred(); in selinux_inode_readlink() local
3258 const struct cred *cred = current_cred(); in selinux_inode_setattr() local
3298 const struct cred *cred = current_cred(); in has_cap_mac_admin() local
3472 const struct cred *cred = current_cred(); in selinux_inode_getxattr() local
3479 const struct cred *cred = current_cred(); in selinux_inode_listxattr() local
3763 const struct cred *cred = current_cred(); in selinux_revalidate_file_permission() local
3809 static int ioctl_has_perm(const struct cred *cred, struct file *file, in ioctl_has_perm()
3849 const struct cred *cred = current_cred(); in selinux_file_ioctl() local
3924 const struct cred *cred = current_cred(); in file_map_prot_check() local
3997 const struct cred *cred = current_cred(); in selinux_file_mprotect() local
4039 const struct cred *cred = current_cred(); in selinux_file_lock() local
4047 const struct cred *cred = current_cred(); in selinux_file_fcntl() local
4116 const struct cred *cred = current_cred(); in selinux_file_receive() local
4394 static int selinux_task_prlimit(const struct cred *cred, const struct cred *tcred, in selinux_task_prlimit()
4444 int sig, const struct cred *cred) in selinux_task_kill()
4473 static int selinux_userns_create(const struct cred *cred) in selinux_userns_create()
6876 static int selinux_key_alloc(struct key *k, const struct cred *cred, in selinux_key_alloc()
6892 const struct cred *cred, in selinux_key_permission()