Lines Matching defs:cred

177 	struct cred *cred = (struct cred *) current->real_cred;  in cred_init_security()  local
191 static inline u32 cred_sid(const struct cred *cred) in cred_sid()
368 const struct cred *cred) in may_context_mount_sb_relabel()
385 const struct cred *cred) in may_context_mount_inode_relabel()
608 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local
1539 static int cred_has_capability(const struct cred *cred, in cred_has_capability()
1588 static int inode_has_perm(const struct cred *cred, in inode_has_perm()
1610 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm()
1625 static inline int path_has_perm(const struct cred *cred, in path_has_perm()
1638 static inline int file_path_has_perm(const struct cred *cred, in file_path_has_perm()
1657 static int file_has_perm(const struct cred *cred, in file_has_perm()
1844 static int superblock_has_perm(const struct cred *cred, in superblock_has_perm()
2057 static int selinux_capable(const struct cred *cred, struct user_namespace *ns, in selinux_capable()
2071 const struct cred *cred = current_cred(); in selinux_quotactl() local
2099 const struct cred *cred = current_cred(); in selinux_quota_on() local
2333 static inline void flush_unauthorized_files(const struct cred *cred, in flush_unauthorized_files()
2661 const struct cred *cred = current_cred(); in selinux_sb_kern_mount() local
2680 const struct cred *cred = current_cred(); in selinux_sb_statfs() local
2694 const struct cred *cred = current_cred(); in selinux_mount() local
2705 const struct cred *cred = current_cred(); in selinux_umount() local
2727 const struct cred *cred = current_cred(); in selinux_dentry_init_security() local
2860 const struct cred *cred = current_cred(); in selinux_inode_readlink() local
2867 const struct cred *cred = current_cred(); in selinux_inode_follow_link() local
2893 const struct cred *cred = current_cred(); in selinux_inode_permission() local
2935 const struct cred *cred = current_cred(); in selinux_inode_setattr() local
2964 const struct cred *cred = current_cred(); in selinux_inode_setotherxattr() local
3090 const struct cred *cred = current_cred(); in selinux_inode_getxattr() local
3097 const struct cred *cred = current_cred(); in selinux_inode_listxattr() local
3196 const struct cred *cred = current_cred(); in selinux_revalidate_file_permission() local
3239 const struct cred *cred = current_cred(); in selinux_file_ioctl() local
3287 const struct cred *cred = current_cred(); in file_map_prot_check() local
3353 const struct cred *cred = current_cred(); in selinux_file_mprotect() local
3387 const struct cred *cred = current_cred(); in selinux_file_lock() local
3395 const struct cred *cred = current_cred(); in selinux_file_fcntl() local
3464 const struct cred *cred = current_cred(); in selinux_file_receive() local
3469 static int selinux_file_open(struct file *file, const struct cred *cred) in selinux_file_open()
3506 static int selinux_cred_alloc_blank(struct cred *cred, gfp_t gfp) in selinux_cred_alloc_blank()
3521 static void selinux_cred_free(struct cred *cred) in selinux_cred_free()
5779 static int selinux_key_alloc(struct key *k, const struct cred *cred, in selinux_key_alloc()
5808 const struct cred *cred, in selinux_key_permission()