Lines Matching defs:cred

223 static inline u32 cred_sid(const struct cred *cred)  in cred_sid()
431 const struct cred *cred) in may_context_mount_sb_relabel()
448 const struct cred *cred) in may_context_mount_inode_relabel()
633 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local
1624 static int cred_has_capability(const struct cred *cred, in cred_has_capability()
1662 static int inode_has_perm(const struct cred *cred, in inode_has_perm()
1682 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm()
1698 static inline int path_has_perm(const struct cred *cred, in path_has_perm()
1712 static inline int file_path_has_perm(const struct cred *cred, in file_path_has_perm()
1735 static int file_has_perm(const struct cred *cred, in file_has_perm()
1944 static int superblock_has_perm(const struct cred *cred, in superblock_has_perm()
2141 static int selinux_capable(const struct cred *cred, struct user_namespace *ns, in selinux_capable()
2149 const struct cred *cred = current_cred(); in selinux_quotactl() local
2184 const struct cred *cred = current_cred(); in selinux_quota_on() local
2418 static inline void flush_unauthorized_files(const struct cred *cred, in flush_unauthorized_files()
2737 const struct cred *cred = current_cred(); in selinux_sb_kern_mount() local
2747 const struct cred *cred = current_cred(); in selinux_sb_statfs() local
2761 const struct cred *cred = current_cred(); in selinux_mount() local
2773 const struct cred *cred = current_cred(); in selinux_move_mount() local
2780 const struct cred *cred = current_cred(); in selinux_umount() local
3056 const struct cred *cred = current_cred(); in selinux_inode_readlink() local
3135 const struct cred *cred = current_cred(); in selinux_inode_setattr() local
3168 const struct cred *cred = current_cred(); in has_cap_mac_admin() local
3342 const struct cred *cred = current_cred(); in selinux_inode_getxattr() local
3349 const struct cred *cred = current_cred(); in selinux_inode_listxattr() local
3615 const struct cred *cred = current_cred(); in selinux_revalidate_file_permission() local
3661 static int ioctl_has_perm(const struct cred *cred, struct file *file, in ioctl_has_perm()
3701 const struct cred *cred = current_cred(); in selinux_file_ioctl() local
3776 const struct cred *cred = current_cred(); in file_map_prot_check() local
3849 const struct cred *cred = current_cred(); in selinux_file_mprotect() local
3891 const struct cred *cred = current_cred(); in selinux_file_lock() local
3899 const struct cred *cred = current_cred(); in selinux_file_fcntl() local
3968 const struct cred *cred = current_cred(); in selinux_file_receive() local
4208 static int selinux_task_prlimit(const struct cred *cred, const struct cred *tcred, in selinux_task_prlimit()
4258 int sig, const struct cred *cred) in selinux_task_kill()
4287 static int selinux_userns_create(const struct cred *cred) in selinux_userns_create()
6726 static int selinux_key_alloc(struct key *k, const struct cred *cred, in selinux_key_alloc()
6742 const struct cred *cred, in selinux_key_permission()