Lines Matching defs:cred

223 static inline u32 cred_sid(const struct cred *cred)  in cred_sid()
426 const struct cred *cred) in may_context_mount_sb_relabel()
443 const struct cred *cred) in may_context_mount_inode_relabel()
628 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local
1619 static int cred_has_capability(const struct cred *cred, in cred_has_capability()
1657 static int inode_has_perm(const struct cred *cred, in inode_has_perm()
1677 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm()
1693 static inline int path_has_perm(const struct cred *cred, in path_has_perm()
1707 static inline int file_path_has_perm(const struct cred *cred, in file_path_has_perm()
1730 static int file_has_perm(const struct cred *cred, in file_has_perm()
1939 static int superblock_has_perm(const struct cred *cred, in superblock_has_perm()
2136 static int selinux_capable(const struct cred *cred, struct user_namespace *ns, in selinux_capable()
2144 const struct cred *cred = current_cred(); in selinux_quotactl() local
2179 const struct cred *cred = current_cred(); in selinux_quota_on() local
2420 static inline void flush_unauthorized_files(const struct cred *cred, in flush_unauthorized_files()
2739 const struct cred *cred = current_cred(); in selinux_sb_kern_mount() local
2749 const struct cred *cred = current_cred(); in selinux_sb_statfs() local
2763 const struct cred *cred = current_cred(); in selinux_mount() local
2775 const struct cred *cred = current_cred(); in selinux_move_mount() local
2782 const struct cred *cred = current_cred(); in selinux_umount() local
3059 const struct cred *cred = current_cred(); in selinux_inode_readlink() local
3067 const struct cred *cred = current_cred(); in selinux_inode_follow_link() local
3098 const struct cred *cred = current_cred(); in selinux_inode_permission() local
3141 const struct cred *cred = current_cred(); in selinux_inode_setattr() local
3174 const struct cred *cred = current_cred(); in has_cap_mac_admin() local
3337 const struct cred *cred = current_cred(); in selinux_inode_getxattr() local
3344 const struct cred *cred = current_cred(); in selinux_inode_listxattr() local
3613 const struct cred *cred = current_cred(); in selinux_revalidate_file_permission() local
3659 static int ioctl_has_perm(const struct cred *cred, struct file *file, in ioctl_has_perm()
3699 const struct cred *cred = current_cred(); in selinux_file_ioctl() local
3774 const struct cred *cred = current_cred(); in file_map_prot_check() local
3847 const struct cred *cred = current_cred(); in selinux_file_mprotect() local
3879 const struct cred *cred = current_cred(); in selinux_file_lock() local
3887 const struct cred *cred = current_cred(); in selinux_file_fcntl() local
3956 const struct cred *cred = current_cred(); in selinux_file_receive() local
4190 static int selinux_task_prlimit(const struct cred *cred, const struct cred *tcred, in selinux_task_prlimit()
4240 int sig, const struct cred *cred) in selinux_task_kill()
4269 static int selinux_userns_create(const struct cred *cred) in selinux_userns_create()
6671 static int selinux_key_alloc(struct key *k, const struct cred *cred, in selinux_key_alloc()
6700 const struct cred *cred, in selinux_key_permission()