| /include/linux/ |
| D | mnt_idmapping.h | 119 struct mnt_idmap *mnt_idmap_get(struct mnt_idmap *idmap); 120 void mnt_idmap_put(struct mnt_idmap *idmap); 122 vfsuid_t make_vfsuid(struct mnt_idmap *idmap, 125 vfsgid_t make_vfsgid(struct mnt_idmap *idmap, 128 kuid_t from_vfsuid(struct mnt_idmap *idmap, 131 kgid_t from_vfsgid(struct mnt_idmap *idmap, 146 static inline bool vfsuid_has_fsmapping(struct mnt_idmap *idmap, in vfsuid_has_fsmapping() argument 150 return uid_valid(from_vfsuid(idmap, fs_userns, vfsuid)); in vfsuid_has_fsmapping() 184 static inline bool vfsgid_has_fsmapping(struct mnt_idmap *idmap, in vfsgid_has_fsmapping() argument 188 return gid_valid(from_vfsgid(idmap, fs_userns, vfsgid)); in vfsgid_has_fsmapping() [all …]
|
| D | posix_acl.h | 103 int vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, 105 struct posix_acl *vfs_get_acl(struct mnt_idmap *idmap, 107 int vfs_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, 112 static inline int posix_acl_chmod(struct mnt_idmap *idmap, in posix_acl_chmod() argument 139 static inline int vfs_set_acl(struct mnt_idmap *idmap, in vfs_set_acl() argument 146 static inline struct posix_acl *vfs_get_acl(struct mnt_idmap *idmap, in vfs_get_acl() argument 153 static inline int vfs_remove_acl(struct mnt_idmap *idmap, in vfs_remove_acl() argument
|
| D | capability.h | 189 struct mnt_idmap *idmap, 191 bool capable_wrt_inode_uidgid(struct mnt_idmap *idmap, 212 int get_vfs_caps_from_disk(struct mnt_idmap *idmap, 216 int cap_convert_nscap(struct mnt_idmap *idmap, struct dentry *dentry,
|
| D | security.h | 174 int cap_inode_removexattr(struct mnt_idmap *idmap, 177 int cap_inode_killpriv(struct mnt_idmap *idmap, struct dentry *dentry); 178 int cap_inode_getsecurity(struct mnt_idmap *idmap, 360 void security_inode_post_create_tmpfile(struct mnt_idmap *idmap, 377 int security_inode_setattr(struct mnt_idmap *idmap, 379 void security_inode_post_setattr(struct mnt_idmap *idmap, struct dentry *dentry, 382 int security_inode_setxattr(struct mnt_idmap *idmap, 385 int security_inode_set_acl(struct mnt_idmap *idmap, 390 int security_inode_get_acl(struct mnt_idmap *idmap, 392 int security_inode_remove_acl(struct mnt_idmap *idmap, [all …]
|
| D | namei.h | 76 struct dentry *lookup_one_unlocked(struct mnt_idmap *idmap, 79 struct dentry *lookup_one_positive_unlocked(struct mnt_idmap *idmap,
|
| D | quotaops.h | 23 static inline bool is_quota_modification(struct mnt_idmap *idmap, in is_quota_modification() argument 27 i_uid_needs_update(idmap, ia, inode) || in is_quota_modification() 28 i_gid_needs_update(idmap, ia, inode)); in is_quota_modification() 119 int dquot_transfer(struct mnt_idmap *idmap, struct inode *inode, 239 static inline int dquot_transfer(struct mnt_idmap *idmap, in dquot_transfer() argument
|
| D | fs.h | 1451 static inline vfsuid_t i_uid_into_vfsuid(struct mnt_idmap *idmap, in i_uid_into_vfsuid() argument 1454 return make_vfsuid(idmap, i_user_ns(inode), inode->i_uid); in i_uid_into_vfsuid() 1468 static inline bool i_uid_needs_update(struct mnt_idmap *idmap, in i_uid_needs_update() argument 1474 i_uid_into_vfsuid(idmap, inode))); in i_uid_needs_update() 1486 static inline void i_uid_update(struct mnt_idmap *idmap, in i_uid_update() argument 1491 inode->i_uid = from_vfsuid(idmap, i_user_ns(inode), in i_uid_update() 1503 static inline vfsgid_t i_gid_into_vfsgid(struct mnt_idmap *idmap, in i_gid_into_vfsgid() argument 1506 return make_vfsgid(idmap, i_user_ns(inode), inode->i_gid); in i_gid_into_vfsgid() 1520 static inline bool i_gid_needs_update(struct mnt_idmap *idmap, in i_gid_needs_update() argument 1526 i_gid_into_vfsgid(idmap, inode))); in i_gid_needs_update() [all …]
|
| D | xattr.h | 45 struct mnt_idmap *idmap, struct dentry *dentry, 93 int vfs_getxattr_alloc(struct mnt_idmap *idmap,
|
| D | lsm_hook_defs.h | 97 LSM_HOOK(void, LSM_RET_VOID, path_post_mknod, struct mnt_idmap *idmap, 125 LSM_HOOK(void, LSM_RET_VOID, inode_post_create_tmpfile, struct mnt_idmap *idmap, 143 LSM_HOOK(int, 0, inode_setattr, struct mnt_idmap *idmap, struct dentry *dentry, 145 LSM_HOOK(void, LSM_RET_VOID, inode_post_setattr, struct mnt_idmap *idmap, 149 LSM_HOOK(int, 0, inode_setxattr, struct mnt_idmap *idmap, 156 LSM_HOOK(int, 0, inode_removexattr, struct mnt_idmap *idmap, 160 LSM_HOOK(int, 0, inode_set_acl, struct mnt_idmap *idmap, 164 LSM_HOOK(int, 0, inode_get_acl, struct mnt_idmap *idmap, 166 LSM_HOOK(int, 0, inode_remove_acl, struct mnt_idmap *idmap, 168 LSM_HOOK(void, LSM_RET_VOID, inode_post_remove_acl, struct mnt_idmap *idmap, [all …]
|
| D | fileattr.h | 56 int vfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry,
|
| D | nfs_fs_sb.h | 87 struct idmap * cl_idmap;
|