Searched refs:idmap (Results 76 - 100 of 333) sorted by relevance

1234567891011>>

/linux-master/fs/ext4/
H A Dacl.h59 int ext4_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
/linux-master/fs/xfs/
H A Dxfs_symlink.c85 struct mnt_idmap *idmap,
127 error = xfs_qm_vop_dqalloc(dp, mapped_fsuid(idmap, &init_user_ns),
128 mapped_fsgid(idmap, &init_user_ns), prid,
171 error = xfs_init_new_inode(idmap, tp, dp, ino,
84 xfs_symlink( struct mnt_idmap *idmap, struct xfs_inode *dp, struct xfs_name *link_name, const char *target_path, umode_t mode, struct xfs_inode **ipp) argument
H A Dxfs_itable.c58 struct mnt_idmap *idmap,
97 vfsuid = i_uid_into_vfsuid(idmap, inode);
98 vfsgid = i_gid_into_vfsgid(idmap, inode);
200 if (breq->idmap != &nop_mnt_idmap) {
221 error = xfs_bulkstat_one_int(breq->mp, breq->idmap, tp,
247 error = xfs_bulkstat_one_int(mp, bc->breq->idmap, tp, ino, data);
292 if (breq->idmap != &nop_mnt_idmap) {
56 xfs_bulkstat_one_int( struct xfs_mount *mp, struct mnt_idmap *idmap, struct xfs_trans *tp, xfs_ino_t ino, struct xfs_bstat_chunk *bc) argument
/linux-master/fs/f2fs/
H A Dacl.c207 static int f2fs_acl_update_mode(struct mnt_idmap *idmap, argument
222 if (!vfsgid_in_group_p(i_gid_into_vfsgid(idmap, inode)) &&
223 !capable_wrt_inode_uidgid(idmap, inode, CAP_FSETID))
229 static int __f2fs_set_acl(struct mnt_idmap *idmap, argument
243 error = f2fs_acl_update_mode(idmap, inode,
279 int f2fs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, argument
287 return __f2fs_set_acl(idmap, inode, type, acl, NULL);
/linux-master/fs/ufs/
H A Dnamei.c72 static int ufs_create (struct mnt_idmap * idmap, argument
89 static int ufs_mknod(struct mnt_idmap *idmap, struct inode *dir, argument
109 static int ufs_symlink (struct mnt_idmap * idmap, struct inode * dir, argument
169 static int ufs_mkdir(struct mnt_idmap * idmap, struct inode * dir, argument
246 static int ufs_rename(struct mnt_idmap *idmap, struct inode *old_dir, argument
/linux-master/include/linux/
H A Dquotaops.h23 static inline bool is_quota_modification(struct mnt_idmap *idmap, argument
27 i_uid_needs_update(idmap, ia, inode) ||
28 i_gid_needs_update(idmap, ia, inode));
119 int dquot_transfer(struct mnt_idmap *idmap, struct inode *inode,
239 static inline int dquot_transfer(struct mnt_idmap *idmap, argument
H A Dlsm_hook_defs.h97 LSM_HOOK(void, LSM_RET_VOID, path_post_mknod, struct mnt_idmap *idmap,
124 LSM_HOOK(void, LSM_RET_VOID, inode_post_create_tmpfile, struct mnt_idmap *idmap,
142 LSM_HOOK(int, 0, inode_setattr, struct mnt_idmap *idmap, struct dentry *dentry,
144 LSM_HOOK(void, LSM_RET_VOID, inode_post_setattr, struct mnt_idmap *idmap,
147 LSM_HOOK(int, 0, inode_setxattr, struct mnt_idmap *idmap,
154 LSM_HOOK(int, 0, inode_removexattr, struct mnt_idmap *idmap,
158 LSM_HOOK(int, 0, inode_set_acl, struct mnt_idmap *idmap,
162 LSM_HOOK(int, 0, inode_get_acl, struct mnt_idmap *idmap,
164 LSM_HOOK(int, 0, inode_remove_acl, struct mnt_idmap *idmap,
166 LSM_HOOK(void, LSM_RET_VOID, inode_post_remove_acl, struct mnt_idmap *idmap,
[all...]
H A Dfs.h1378 * @idmap: idmap of the mount the inode was found from
1381 * Return: whe inode's i_uid mapped down according to @idmap.
1384 static inline vfsuid_t i_uid_into_vfsuid(struct mnt_idmap *idmap, argument
1387 return make_vfsuid(idmap, i_user_ns(inode), inode->i_uid);
1392 * @idmap: idmap of the mount the inode was found from
1401 static inline bool i_uid_needs_update(struct mnt_idmap *idmap, argument
1407 i_uid_into_vfsuid(idmap, inode)));
1412 * @idmap
1419 i_uid_update(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode) argument
1436 i_gid_into_vfsgid(struct mnt_idmap *idmap, const struct inode *inode) argument
1453 i_gid_needs_update(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode) argument
1471 i_gid_update(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode) argument
1488 inode_fsuid_set(struct inode *inode, struct mnt_idmap *idmap) argument
1502 inode_fsgid_set(struct inode *inode, struct mnt_idmap *idmap) argument
1519 fsuidgid_has_mapping(struct super_block *sb, struct mnt_idmap *idmap) argument
1890 vfs_whiteout(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry) argument
2268 HAS_UNMAPPED_ID(struct mnt_idmap *idmap, struct inode *inode) argument
3543 check_sticky(struct mnt_idmap *idmap, struct inode *dir, struct inode *inode) argument
[all...]
/linux-master/fs/affs/
H A Daffs.h171 extern int affs_create(struct mnt_idmap *idmap, struct inode *dir,
173 extern int affs_mkdir(struct mnt_idmap *idmap, struct inode *dir,
178 extern int affs_symlink(struct mnt_idmap *idmap,
181 extern int affs_rename2(struct mnt_idmap *idmap,
189 extern int affs_notify_change(struct mnt_idmap *idmap,
/linux-master/security/integrity/ima/
H A Dima_appraise.c73 int ima_must_appraise(struct mnt_idmap *idmap, struct inode *inode, argument
82 return ima_match_policy(idmap, inode, current_cred(), secid,
629 * @idmap: idmap of the mount the inode was found from
638 static void ima_inode_post_setattr(struct mnt_idmap *idmap, argument
649 action = ima_must_appraise(idmap, inode, MAY_ACCESS, POST_SETATTR);
752 static int ima_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
783 static int ima_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, argument
792 static int ima_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
806 static int ima_inode_remove_acl(struct mnt_idmap *idmap, struc argument
[all...]
/linux-master/fs/ecryptfs/
H A Dinode.c264 ecryptfs_create(struct mnt_idmap *idmap, argument
467 static int ecryptfs_symlink(struct mnt_idmap *idmap, argument
506 static int ecryptfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, argument
559 ecryptfs_mknod(struct mnt_idmap *idmap, struct inode *dir, argument
585 ecryptfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, argument
877 ecryptfs_permission(struct mnt_idmap *idmap, struct inode *inode, argument
886 * @idmap: idmap of the target mount
897 static int ecryptfs_setattr(struct mnt_idmap *idmap, argument
985 static int ecryptfs_getattr_link(struct mnt_idmap *idmap, argument
1019 ecryptfs_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int flags) argument
1132 ecryptfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
1144 ecryptfs_get_acl(struct mnt_idmap *idmap, struct dentry *dentry, int type) argument
1151 ecryptfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, struct posix_acl *acl, int type) argument
1211 ecryptfs_xattr_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *inode, const char *name, const void *value, size_t size, int flags) argument
[all...]
/linux-master/fs/ext2/
H A Dnamei.c102 static int ext2_create (struct mnt_idmap * idmap, argument
122 static int ext2_tmpfile(struct mnt_idmap *idmap, struct inode *dir, argument
136 static int ext2_mknod (struct mnt_idmap * idmap, struct inode * dir, argument
157 static int ext2_symlink (struct mnt_idmap * idmap, struct inode * dir, argument
228 static int ext2_mkdir(struct mnt_idmap * idmap, argument
317 static int ext2_rename (struct mnt_idmap * idmap, argument
/linux-master/security/
H A Dcommoncap.c309 * @idmap: idmap of the mount the inode was found from
314 * If the inode has been found through an idmapped mount the idmap of
315 * the vfsmount must be passed through @idmap. This function will then
316 * take care to map the inode according to @idmap before checking
322 int cap_inode_killpriv(struct mnt_idmap *idmap, struct dentry *dentry) argument
326 error = __vfs_removexattr(idmap, dentry, XATTR_NAME_CAPS);
381 int cap_inode_getsecurity(struct mnt_idmap *idmap, argument
402 size = vfs_getxattr_alloc(idmap, dentry, XATTR_NAME_CAPS, &tmpbuf,
424 vfsroot = make_vfsuid(idmap, fs_n
530 cap_convert_nscap(struct mnt_idmap *idmap, struct dentry *dentry, const void **ivalue, size_t size) argument
636 get_vfs_caps_from_disk(struct mnt_idmap *idmap, const struct dentry *dentry, struct cpu_vfs_cap_data *cpu_caps) argument
1031 cap_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *name) argument
[all...]
/linux-master/fs/overlayfs/
H A Dinode.c21 int ovl_setattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
156 int ovl_getattr(struct mnt_idmap *idmap, const struct path *path, argument
288 int ovl_permission(struct mnt_idmap *idmap, argument
348 struct mnt_idmap *idmap,
360 vfsuid = make_vfsuid(idmap, fs_userns, e->e_uid);
364 vfsgid = make_vfsgid(idmap, fs_userns, e->e_gid);
399 struct mnt_idmap *idmap; local
402 idmap = mnt_idmap(path->mnt);
407 real_acl = vfs_get_acl(idmap, path->dentry, acl_name);
425 ovl_idmap_posix_acl(realinode, idmap, clon
347 ovl_idmap_posix_acl(const struct inode *realinode, struct mnt_idmap *idmap, struct posix_acl *acl) argument
440 do_ovl_get_acl(struct mnt_idmap *idmap, struct inode *inode, int type, bool rcu, bool noperm) argument
535 ovl_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, struct posix_acl *acl, int type) argument
646 ovl_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
[all...]
/linux-master/fs/vboxsf/
H A Dvfsmod.h100 int vboxsf_getattr(struct mnt_idmap *idmap, const struct path *path,
103 int vboxsf_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
/linux-master/fs/configfs/
H A Dconfigfs_internal.h80 extern int configfs_setattr(struct mnt_idmap *idmap,
94 extern int configfs_symlink(struct mnt_idmap *idmap,
/linux-master/fs/gfs2/
H A Dinode.h100 int gfs2_permission(struct mnt_idmap *idmap,
112 int gfs2_fileattr_set(struct mnt_idmap *idmap,
/linux-master/fs/efivarfs/
H A Dinode.c77 static int efivarfs_create(struct mnt_idmap *idmap, struct inode *dir, argument
171 efivarfs_fileattr_set(struct mnt_idmap *idmap, argument
/linux-master/fs/coda/
H A Dcoda_linux.h49 int coda_permission(struct mnt_idmap *idmap, struct inode *inode,
/linux-master/fs/nfs/
H A Dnamespace.c211 nfs_namespace_getattr(struct mnt_idmap *idmap, argument
216 return nfs_getattr(idmap, path, stat, request_mask,
224 nfs_namespace_setattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
228 return nfs_setattr(idmap, dentry, attr);
/linux-master/fs/
H A Dinit.c169 struct mnt_idmap *idmap; local
184 idmap = mnt_idmap(new_path.mnt);
185 error = may_linkat(idmap, &old_path);
191 error = vfs_link(old_path.dentry, idmap, new_path.dentry->d_inode,
/linux-master/fs/9p/
H A Dv9fs_vfs.h62 int v9fs_vfs_setattr_dotl(struct mnt_idmap *idmap,
/linux-master/arch/arm/mm/
H A Dproc-arm9tdmi.S56 .pushsection .idmap.text, "ax"
/linux-master/arch/arm/kernel/
H A Dsuspend.c10 #include <asm/idmap.h>
/linux-master/fs/kernfs/
H A Dinode.c110 int kernfs_iop_setattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
183 int kernfs_iop_getattr(struct mnt_idmap *idmap, argument
274 int kernfs_iop_permission(struct mnt_idmap *idmap, argument
332 struct mnt_idmap *idmap,
405 struct mnt_idmap *idmap,
331 kernfs_vfs_xattr_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *suffix, const void *value, size_t size, int flags) argument
404 kernfs_vfs_user_xattr_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *suffix, const void *value, size_t size, int flags) argument

Completed in 524 milliseconds

1234567891011>>