Lines Matching defs:cred

152 	struct cred *cred = (struct cred *) current->real_cred;  in cred_init_security()  local
166 static inline u32 cred_sid(const struct cred *cred) in cred_sid()
323 const struct cred *cred) in may_context_mount_sb_relabel()
340 const struct cred *cred) in may_context_mount_inode_relabel()
555 const struct cred *cred = current_cred(); in selinux_set_mnt_opts() local
1418 static int cred_has_capability(const struct cred *cred, in cred_has_capability()
1468 static int inode_has_perm(const struct cred *cred, in inode_has_perm()
1488 static int inode_has_perm_noadp(const struct cred *cred, in inode_has_perm_noadp()
1503 static inline int dentry_has_perm(const struct cred *cred, in dentry_has_perm()
1518 static inline int path_has_perm(const struct cred *cred, in path_has_perm()
1538 static int file_has_perm(const struct cred *cred, in file_has_perm()
1725 static int superblock_has_perm(const struct cred *cred, in superblock_has_perm()
1870 static int selinux_capable(const struct cred *cred, struct user_namespace *ns, in selinux_capable()
1884 const struct cred *cred = current_cred(); in selinux_quotactl() local
1912 const struct cred *cred = current_cred(); in selinux_quota_on() local
2096 static inline void flush_unauthorized_files(const struct cred *cred, in flush_unauthorized_files()
2472 const struct cred *cred = current_cred(); in selinux_sb_kern_mount() local
2491 const struct cred *cred = current_cred(); in selinux_sb_statfs() local
2505 const struct cred *cred = current_cred(); in selinux_mount() local
2516 const struct cred *cred = current_cred(); in selinux_umount() local
2642 const struct cred *cred = current_cred(); in selinux_inode_readlink() local
2649 const struct cred *cred = current_cred(); in selinux_inode_follow_link() local
2656 const struct cred *cred = current_cred(); in selinux_inode_permission() local
2682 const struct cred *cred = current_cred(); in selinux_inode_setattr() local
2702 const struct cred *cred = current_cred(); in selinux_inode_getattr() local
2713 const struct cred *cred = current_cred(); in selinux_inode_setotherxattr() local
2814 const struct cred *cred = current_cred(); in selinux_inode_getxattr() local
2821 const struct cred *cred = current_cred(); in selinux_inode_listxattr() local
2919 const struct cred *cred = current_cred(); in selinux_revalidate_file_permission() local
2962 const struct cred *cred = current_cred(); in selinux_file_ioctl() local
3010 const struct cred *cred = current_cred(); in file_map_prot_check() local
3079 const struct cred *cred = current_cred(); in selinux_file_mprotect() local
3113 const struct cred *cred = current_cred(); in selinux_file_lock() local
3121 const struct cred *cred = current_cred(); in selinux_file_fcntl() local
3197 const struct cred *cred = current_cred(); in selinux_file_receive() local
3202 static int selinux_dentry_open(struct file *file, const struct cred *cred) in selinux_dentry_open()
3241 static int selinux_cred_alloc_blank(struct cred *cred, gfp_t gfp) in selinux_cred_alloc_blank()
3256 static void selinux_cred_free(struct cred *cred) in selinux_cred_free()
5366 static int selinux_key_alloc(struct key *k, const struct cred *cred, in selinux_key_alloc()
5395 const struct cred *cred, in selinux_key_permission()