Home
last modified time | relevance | path

Searched defs:idmap (Results 1 – 25 of 178) sorted by relevance

12345678

/linux/fs/nfs/
H A Dnfs4idmap.c65 struct idmap *idmap; member
68 struct idmap { struct
69 struct rpc_pipe_dir_object idmap_pdo; argument
70 struct rpc_pipe *idmap_pipe; argument
71 struct idmap_legacy_upcalldata *idmap_upcall_data; argument
72 struct mutex idmap_mutex; argument
76 static struct user_namespace *idmap_userns(const struct idmap *idmap) in idmap_userns()
280 const char *type, struct idmap *idmap) in nfs_idmap_request_key()
307 size_t data_size, struct idmap *idmap) in nfs_idmap_get_key()
351 size_t buflen, struct idmap *idmap) in nfs_idmap_lookup_name()
[all …]
/linux/fs/
H A Dattr.c33 int setattr_should_drop_sgid(struct mnt_idmap *idmap, in setattr_should_drop_sgid()
63 int setattr_should_drop_suidgid(struct mnt_idmap *idmap, in setattr_should_drop_suidgid()
94 static bool chown_ok(struct mnt_idmap *idmap, in chown_ok()
121 static bool chgrp_ok(struct mnt_idmap *idmap, in chgrp_ok()
161 int setattr_prepare(struct mnt_idmap *idmap, struct dentry *dentry, in setattr_prepare()
340 void setattr_copy(struct mnt_idmap *idmap, struct inode *inode, in setattr_copy()
371 int may_setattr(struct mnt_idmap *idmap, struct inode *inode, in may_setattr()
426 int notify_change(struct mnt_idmap *idmap, struct dentry *dentry, in notify_change()
H A Dposix_acl.c114 static struct posix_acl *__get_acl(struct mnt_idmap *idmap, in __get_acl()
374 posix_acl_permission(struct mnt_idmap *idmap, struct inode *inode, in posix_acl_permission()
604 posix_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry, in posix_acl_chmod()
705 int posix_acl_update_mode(struct mnt_idmap *idmap, in posix_acl_update_mode()
886 static ssize_t vfs_posix_acl_to_xattr(struct mnt_idmap *idmap, in vfs_posix_acl_to_xattr()
934 set_posix_acl(struct mnt_idmap *idmap, struct dentry *dentry, in set_posix_acl()
1015 int simple_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in simple_set_acl()
1054 static int vfs_set_acl_idmapped_mnt(struct mnt_idmap *idmap, in vfs_set_acl_idmapped_mnt()
1088 int vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in vfs_set_acl()
1165 struct posix_acl *vfs_get_acl(struct mnt_idmap *idmap, in vfs_get_acl()
[all …]
H A Dnamei.c317 static int check_acl(struct mnt_idmap *idmap, in check_acl()
381 static int acl_permission_check(struct mnt_idmap *idmap, in acl_permission_check()
464 int generic_permission(struct mnt_idmap *idmap, struct inode *inode, in generic_permission()
521 static inline int do_inode_permission(struct mnt_idmap *idmap, in do_inode_permission()
568 int inode_permission(struct mnt_idmap *idmap, in inode_permission()
1170 struct mnt_idmap *idmap; in may_follow_link() local
1211 static bool safe_hardlink_source(struct mnt_idmap *idmap, in safe_hardlink_source()
1254 int may_linkat(struct mnt_idmap *idmap, const struct path *link) in may_linkat()
1304 static int may_create_in_sticky(struct mnt_idmap *idmap, struct nameidata *nd, in may_create_in_sticky()
1830 static inline int may_lookup(struct mnt_idmap *idmap, in may_lookup()
[all …]
H A Dxattr.c97 int may_write_xattr(struct mnt_idmap *idmap, struct inode *inode) in may_write_xattr()
113 xattr_permission(struct mnt_idmap *idmap, struct inode *inode, in xattr_permission()
184 __vfs_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in __vfs_setxattr()
222 int __vfs_setxattr_noperm(struct mnt_idmap *idmap, in __vfs_setxattr_noperm()
275 __vfs_setxattr_locked(struct mnt_idmap *idmap, struct dentry *dentry, in __vfs_setxattr_locked()
304 vfs_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in vfs_setxattr()
338 xattr_getsecurity(struct mnt_idmap *idmap, struct inode *inode, in xattr_getsecurity()
375 vfs_getxattr_alloc(struct mnt_idmap *idmap, struct dentry *dentry, in vfs_getxattr_alloc()
428 vfs_getxattr(struct mnt_idmap *idmap, struct dentry *dentry, in vfs_getxattr()
504 __vfs_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, in __vfs_removexattr()
[all …]
/linux/security/integrity/evm/
H A Devm_main.c461 static int evm_xattr_change(struct mnt_idmap *idmap, in evm_xattr_change()
497 static int evm_protect_xattr(struct mnt_idmap *idmap, in evm_protect_xattr()
587 static int evm_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in evm_inode_setxattr()
619 static int evm_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, in evm_inode_removexattr()
632 static int evm_inode_set_acl_change(struct mnt_idmap *idmap, in evm_inode_set_acl_change()
651 static inline int evm_inode_set_acl_change(struct mnt_idmap *idmap, in evm_inode_set_acl_change()
673 static int evm_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in evm_inode_set_acl()
725 static int evm_inode_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, in evm_inode_remove_acl()
878 static inline void evm_inode_post_remove_acl(struct mnt_idmap *idmap, in evm_inode_post_remove_acl()
885 static int evm_attr_change(struct mnt_idmap *idmap, in evm_attr_change()
[all …]
/linux/fs/smb/server/
H A Dvfs.c144 void ksmbd_vfs_query_maximal_access(struct mnt_idmap *idmap, in ksmbd_vfs_query_maximal_access()
213 struct mnt_idmap *idmap; in ksmbd_vfs_mkdir() local
246 static ssize_t ksmbd_vfs_getcasexattr(struct mnt_idmap *idmap, in ksmbd_vfs_getcasexattr()
411 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in ksmbd_vfs_stream_write() local
597 struct mnt_idmap *idmap; in ksmbd_vfs_remove_file() local
879 static ssize_t ksmbd_vfs_xattr_len(struct mnt_idmap *idmap, in ksmbd_vfs_xattr_len()
894 ssize_t ksmbd_vfs_getxattr(struct mnt_idmap *idmap, in ksmbd_vfs_getxattr()
931 int ksmbd_vfs_setxattr(struct mnt_idmap *idmap, in ksmbd_vfs_setxattr()
1056 int ksmbd_vfs_remove_xattr(struct mnt_idmap *idmap, in ksmbd_vfs_remove_xattr()
1080 struct mnt_idmap *idmap = file_mnt_idmap(filp); in ksmbd_vfs_unlink() local
[all …]
H A Dsmbacl.c257 static int sid_to_id(struct mnt_idmap *idmap, in sid_to_id()
370 static void parse_dacl(struct mnt_idmap *idmap, in parse_dacl()
589 static void set_posix_acl_entries_dacl(struct mnt_idmap *idmap, in set_posix_acl_entries_dacl()
703 static void set_ntacl_dacl(struct mnt_idmap *idmap, in set_ntacl_dacl()
743 static void set_mode_dacl(struct mnt_idmap *idmap, in set_mode_dacl()
829 int parse_sec_desc(struct mnt_idmap *idmap, struct smb_ntsd *pntsd, in parse_sec_desc()
919 int build_sec_desc(struct mnt_idmap *idmap, in build_sec_desc()
1032 struct mnt_idmap *idmap = mnt_idmap(path->mnt); in smb_inherit_dacl() local
1249 struct mnt_idmap *idmap = mnt_idmap(path->mnt); in smb_check_perm_dacl() local
1422 struct mnt_idmap *idmap = mnt_idmap(path->mnt); in set_info_sec() local
/linux/fs/xfs/
H A Dxfs_iops.c172 struct mnt_idmap *idmap, in xfs_generic_create()
282 struct mnt_idmap *idmap, in xfs_vn_mknod()
293 struct mnt_idmap *idmap, in xfs_vn_create()
304 struct mnt_idmap *idmap, in xfs_vn_mkdir()
429 struct mnt_idmap *idmap, in xfs_vn_symlink()
472 struct mnt_idmap *idmap, in xfs_vn_rename()
684 struct mnt_idmap *idmap, in xfs_vn_getattr()
759 struct mnt_idmap *idmap, in xfs_vn_change_ok()
782 struct mnt_idmap *idmap, in xfs_setattr_nonsize()
911 struct mnt_idmap *idmap, in xfs_setattr_size()
[all …]
/linux/fs/f2fs/
H A Dnamei.c219 static struct inode *f2fs_new_inode(struct mnt_idmap *idmap, in f2fs_new_inode()
353 static int f2fs_create(struct mnt_idmap *idmap, struct inode *dir, in f2fs_create()
624 static int f2fs_symlink(struct mnt_idmap *idmap, struct inode *dir, in f2fs_symlink()
704 static struct dentry *f2fs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in f2fs_mkdir()
759 static int f2fs_mknod(struct mnt_idmap *idmap, struct inode *dir, in f2fs_mknod()
802 static int __f2fs_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in __f2fs_tmpfile()
872 static int f2fs_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in f2fs_tmpfile()
888 static int f2fs_create_whiteout(struct mnt_idmap *idmap, in f2fs_create_whiteout()
896 int f2fs_get_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in f2fs_get_tmpfile()
903 static int f2fs_rename(struct mnt_idmap *idmap, struct inode *old_dir, in f2fs_rename()
[all …]
H A Dacl.c207 static int f2fs_acl_update_mode(struct mnt_idmap *idmap, in f2fs_acl_update_mode()
228 static int __f2fs_set_acl(struct mnt_idmap *idmap, in __f2fs_set_acl()
277 int f2fs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in f2fs_set_acl()
/linux/fs/fuse/
H A Ddir.c549 static int get_create_supp_group(struct mnt_idmap *idmap, in get_create_supp_group()
580 static int get_create_ext(struct mnt_idmap *idmap, in get_create_ext()
618 static int fuse_create_open(struct mnt_idmap *idmap, struct inode *dir, in fuse_create_open()
740 struct mnt_idmap *idmap = file_mnt_idmap(file); in fuse_atomic_open() local
786 static struct dentry *create_new_entry(struct mnt_idmap *idmap, struct fuse_mount *fm, in create_new_entry()
859 static int create_new_nondir(struct mnt_idmap *idmap, struct fuse_mount *fm, in create_new_nondir()
875 static int fuse_mknod(struct mnt_idmap *idmap, struct inode *dir, in fuse_mknod()
898 static int fuse_create(struct mnt_idmap *idmap, struct inode *dir, in fuse_create()
904 static int fuse_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in fuse_tmpfile()
922 static struct dentry *fuse_mkdir(struct mnt_idmap *idmap, struct inode *dir, in fuse_mkdir()
[all …]
H A Dacl.c67 struct posix_acl *fuse_get_acl(struct mnt_idmap *idmap, in fuse_get_acl()
95 int fuse_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in fuse_set_acl()
/linux/fs/ecryptfs/
H A Dinode.c264 ecryptfs_create(struct mnt_idmap *idmap, in ecryptfs_create()
469 static int ecryptfs_symlink(struct mnt_idmap *idmap, in ecryptfs_symlink()
508 static struct dentry *ecryptfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in ecryptfs_mkdir()
567 ecryptfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in ecryptfs_mknod()
593 ecryptfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, in ecryptfs_rename()
885 ecryptfs_permission(struct mnt_idmap *idmap, struct inode *inode, in ecryptfs_permission()
905 static int ecryptfs_setattr(struct mnt_idmap *idmap, in ecryptfs_setattr()
993 static int ecryptfs_getattr_link(struct mnt_idmap *idmap, in ecryptfs_getattr_link()
1019 static int ecryptfs_getattr(struct mnt_idmap *idmap, in ecryptfs_getattr()
1132 static int ecryptfs_fileattr_set(struct mnt_idmap *idmap, in ecryptfs_fileattr_set()
[all …]
/linux/fs/ramfs/
H A Dinode.c98 ramfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in ramfs_mknod()
122 static struct dentry *ramfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in ramfs_mkdir()
131 static int ramfs_create(struct mnt_idmap *idmap, struct inode *dir, in ramfs_create()
137 static int ramfs_symlink(struct mnt_idmap *idmap, struct inode *dir, in ramfs_symlink()
168 static int ramfs_tmpfile(struct mnt_idmap *idmap, in ramfs_tmpfile()
/linux/fs/ntfs3/
H A Dnamei.c107 static int ntfs_create(struct mnt_idmap *idmap, struct inode *dir, in ntfs_create()
117 static int ntfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in ntfs_mknod()
193 static int ntfs_symlink(struct mnt_idmap *idmap, struct inode *dir, in ntfs_symlink()
212 static struct dentry *ntfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in ntfs_mkdir()
246 static int ntfs_rename(struct mnt_idmap *idmap, struct inode *dir, in ntfs_rename()
H A Dxattr.c543 struct posix_acl *ntfs_get_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ntfs_get_acl()
596 static noinline int ntfs_set_acl_ex(struct mnt_idmap *idmap, in ntfs_set_acl_ex()
673 int ntfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ntfs_set_acl()
684 int ntfs_init_acl(struct mnt_idmap *idmap, struct inode *inode, in ntfs_init_acl()
718 int ntfs_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry) in ntfs_acl_chmod()
853 struct mnt_idmap *idmap, struct dentry *de, in ntfs_setxattr()
/linux/security/integrity/ima/
H A Dima_appraise.c74 int ima_must_appraise(struct mnt_idmap *idmap, struct inode *inode, in ima_must_appraise()
661 static void ima_inode_post_setattr(struct mnt_idmap *idmap, in ima_inode_post_setattr()
775 static int ima_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_setxattr()
806 static int ima_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_set_acl()
815 static int ima_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_removexattr()
829 static int ima_inode_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_remove_acl()
/linux/fs/efivarfs/
H A Dinode.c77 static int efivarfs_create(struct mnt_idmap *idmap, struct inode *dir, in efivarfs_create()
156 efivarfs_fileattr_set(struct mnt_idmap *idmap, in efivarfs_fileattr_set()
176 static int efivarfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in efivarfs_setattr()
/linux/fs/coda/
H A Ddir.c76 int coda_permission(struct mnt_idmap *idmap, struct inode *inode, in coda_permission()
136 static int coda_create(struct mnt_idmap *idmap, struct inode *dir, in coda_create()
169 static struct dentry *coda_mkdir(struct mnt_idmap *idmap, struct inode *dir, in coda_mkdir()
231 static int coda_symlink(struct mnt_idmap *idmap, in coda_symlink()
298 static int coda_rename(struct mnt_idmap *idmap, struct inode *old_dir, in coda_rename()
/linux/fs/kernfs/
H A Dinode.c111 int kernfs_iop_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in kernfs_iop_setattr()
185 int kernfs_iop_getattr(struct mnt_idmap *idmap, in kernfs_iop_getattr()
276 int kernfs_iop_permission(struct mnt_idmap *idmap, in kernfs_iop_permission()
336 struct mnt_idmap *idmap, in kernfs_vfs_xattr_set()
411 struct mnt_idmap *idmap, in kernfs_vfs_user_xattr_set()
/linux/fs/overlayfs/
H A Dinode.c21 int ovl_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in ovl_setattr()
156 int ovl_getattr(struct mnt_idmap *idmap, const struct path *path, in ovl_getattr()
288 int ovl_permission(struct mnt_idmap *idmap, in ovl_permission()
348 struct mnt_idmap *idmap, in ovl_idmap_posix_acl()
399 struct mnt_idmap *idmap; in ovl_get_acl_path() local
440 struct posix_acl *do_ovl_get_acl(struct mnt_idmap *idmap, in do_ovl_get_acl()
535 int ovl_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ovl_set_acl()
651 int ovl_fileattr_set(struct mnt_idmap *idmap, in ovl_fileattr_set()
/linux/fs/9p/
H A Dvfs_inode_dotl.c220 v9fs_vfs_create_dotl(struct mnt_idmap *idmap, struct inode *dir, in v9fs_vfs_create_dotl()
353 static struct dentry *v9fs_vfs_mkdir_dotl(struct mnt_idmap *idmap, in v9fs_vfs_mkdir_dotl()
424 v9fs_vfs_getattr_dotl(struct mnt_idmap *idmap, in v9fs_vfs_getattr_dotl()
518 int v9fs_vfs_setattr_dotl(struct mnt_idmap *idmap, in v9fs_vfs_setattr_dotl()
688 v9fs_vfs_symlink_dotl(struct mnt_idmap *idmap, struct inode *dir, in v9fs_vfs_symlink_dotl()
793 v9fs_vfs_mknod_dotl(struct mnt_idmap *idmap, struct inode *dir, in v9fs_vfs_mknod_dotl()
/linux/fs/hostfs/
H A Dhostfs_kern.c595 static int hostfs_create(struct mnt_idmap *idmap, struct inode *dir, in hostfs_create()
676 static int hostfs_symlink(struct mnt_idmap *idmap, struct inode *ino, in hostfs_symlink()
689 static struct dentry *hostfs_mkdir(struct mnt_idmap *idmap, struct inode *ino, in hostfs_mkdir()
722 static int hostfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in hostfs_mknod()
748 static int hostfs_rename2(struct mnt_idmap *idmap, in hostfs_rename2()
777 static int hostfs_permission(struct mnt_idmap *idmap, in hostfs_permission()
804 static int hostfs_setattr(struct mnt_idmap *idmap, in hostfs_setattr()
/linux/fs/gfs2/
H A Dinode.c950 static int gfs2_create(struct mnt_idmap *idmap, struct inode *dir, in gfs2_create()
1310 static int gfs2_symlink(struct mnt_idmap *idmap, struct inode *dir, in gfs2_symlink()
1332 static struct dentry *gfs2_mkdir(struct mnt_idmap *idmap, struct inode *dir, in gfs2_mkdir()
1350 static int gfs2_mknod(struct mnt_idmap *idmap, struct inode *dir, in gfs2_mknod()
1862 static int gfs2_rename2(struct mnt_idmap *idmap, struct inode *odir, in gfs2_rename2()
1948 int gfs2_permission(struct mnt_idmap *idmap, struct inode *inode, in gfs2_permission()
2080 static int gfs2_setattr(struct mnt_idmap *idmap, in gfs2_setattr()
2141 static int gfs2_getattr(struct mnt_idmap *idmap, in gfs2_getattr()

12345678