| /linux/fs/nfs/ |
| H A D | nfs4idmap.c | 65 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() 348 size_t buflen, struct idmap *idmap) in nfs_idmap_lookup_name() [all …]
|
| /linux/fs/ |
| H A D | mnt_idmapping.c | 80 vfsuid_t make_vfsuid(struct mnt_idmap *idmap, in make_vfsuid() 120 vfsgid_t make_vfsgid(struct mnt_idmap *idmap, in make_vfsgid() 150 kuid_t from_vfsuid(struct mnt_idmap *idmap, in from_vfsuid() 179 kgid_t from_vfsgid(struct mnt_idmap *idmap, in from_vfsgid() 274 static void free_mnt_idmap(struct mnt_idmap *idmap) in free_mnt_idmap() 289 struct mnt_idmap *idmap; in alloc_mnt_idmap() local 315 struct mnt_idmap *mnt_idmap_get(struct mnt_idmap *idmap) in mnt_idmap_get() 331 void mnt_idmap_put(struct mnt_idmap *idmap) in mnt_idmap_put() 339 int statmount_mnt_idmap(struct mnt_idmap *idmap, struct seq_file *seq, bool uid_map) in statmount_mnt_idmap()
|
| H A D | posix_acl.c | 114 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() 887 static ssize_t vfs_posix_acl_to_xattr(struct mnt_idmap *idmap, in vfs_posix_acl_to_xattr() 935 set_posix_acl(struct mnt_idmap *idmap, struct dentry *dentry, in set_posix_acl() 1016 int simple_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in simple_set_acl() 1055 static int vfs_set_acl_idmapped_mnt(struct mnt_idmap *idmap, in vfs_set_acl_idmapped_mnt() 1089 int vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in vfs_set_acl() 1166 struct posix_acl *vfs_get_acl(struct mnt_idmap *idmap, in vfs_get_acl() [all …]
|
| H A D | namei.c | 369 static int check_acl(struct mnt_idmap *idmap, in check_acl() 433 static int acl_permission_check(struct mnt_idmap *idmap, in acl_permission_check() 516 int generic_permission(struct mnt_idmap *idmap, struct inode *inode, in generic_permission() 573 static inline int do_inode_permission(struct mnt_idmap *idmap, in do_inode_permission() 623 int inode_permission(struct mnt_idmap *idmap, in inode_permission() 678 static __always_inline int lookup_inode_permission_may_exec(struct mnt_idmap *idmap, in lookup_inode_permission_may_exec() 1271 struct mnt_idmap *idmap; in may_follow_link() local 1312 static bool safe_hardlink_source(struct mnt_idmap *idmap, in safe_hardlink_source() 1355 int may_linkat(struct mnt_idmap *idmap, const struct path *link) in may_linkat() 1405 static int may_create_in_sticky(struct mnt_idmap *idmap, struct nameidata *nd, in may_create_in_sticky() [all …]
|
| /linux/security/integrity/evm/ |
| H A D | evm_main.c | 461 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 D | vfs.c | 122 void ksmbd_vfs_query_maximal_access(struct mnt_idmap *idmap, in ksmbd_vfs_query_maximal_access() 190 struct mnt_idmap *idmap; in ksmbd_vfs_mkdir() local 223 static ssize_t ksmbd_vfs_getcasexattr(struct mnt_idmap *idmap, in ksmbd_vfs_getcasexattr() 392 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in ksmbd_vfs_stream_write() local 579 struct mnt_idmap *idmap; in ksmbd_vfs_remove_file() local 813 static ssize_t ksmbd_vfs_xattr_len(struct mnt_idmap *idmap, in ksmbd_vfs_xattr_len() 828 ssize_t ksmbd_vfs_getxattr(struct mnt_idmap *idmap, in ksmbd_vfs_getxattr() 865 int ksmbd_vfs_setxattr(struct mnt_idmap *idmap, in ksmbd_vfs_setxattr() 990 int ksmbd_vfs_remove_xattr(struct mnt_idmap *idmap, in ksmbd_vfs_remove_xattr() 1014 struct mnt_idmap *idmap = file_mnt_idmap(filp); in ksmbd_vfs_unlink() local [all …]
|
| H A D | smbacl.c | 257 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 1419 struct mnt_idmap *idmap = mnt_idmap(path->mnt); in set_info_sec() local
|
| /linux/fs/minix/ |
| H A D | namei.c | 36 static int minix_mknod(struct mnt_idmap *idmap, struct inode *dir, in minix_mknod() 53 static int minix_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in minix_tmpfile() 66 static int minix_create(struct mnt_idmap *idmap, struct inode *dir, in minix_create() 72 static int minix_symlink(struct mnt_idmap *idmap, struct inode *dir, in minix_symlink() 107 static struct dentry *minix_mkdir(struct mnt_idmap *idmap, struct inode *dir, in minix_mkdir() 190 static int minix_rename(struct mnt_idmap *idmap, in minix_rename()
|
| /linux/fs/ecryptfs/ |
| H A D | inode.c | 269 ecryptfs_create(struct mnt_idmap *idmap, in ecryptfs_create() 467 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() 595 ecryptfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, in ecryptfs_rename() 866 ecryptfs_permission(struct mnt_idmap *idmap, struct inode *inode, in ecryptfs_permission() 886 static int ecryptfs_setattr(struct mnt_idmap *idmap, in ecryptfs_setattr() 971 static int ecryptfs_getattr_link(struct mnt_idmap *idmap, in ecryptfs_getattr_link() 997 static int ecryptfs_getattr(struct mnt_idmap *idmap, in ecryptfs_getattr() 1110 static int ecryptfs_fileattr_set(struct mnt_idmap *idmap, in ecryptfs_fileattr_set() [all …]
|
| /linux/fs/fuse/ |
| H A D | dir.c | 742 static int get_create_supp_group(struct mnt_idmap *idmap, in get_create_supp_group() 773 static int get_create_ext(struct mnt_idmap *idmap, in get_create_ext() 811 static int fuse_create_open(struct mnt_idmap *idmap, struct inode *dir, in fuse_create_open() 933 struct mnt_idmap *idmap = file_mnt_idmap(file); in fuse_atomic_open() local 972 static struct dentry *create_new_entry(struct mnt_idmap *idmap, struct fuse_mount *fm, in create_new_entry() 1045 static int create_new_nondir(struct mnt_idmap *idmap, struct fuse_mount *fm, in create_new_nondir() 1061 static int fuse_mknod(struct mnt_idmap *idmap, struct inode *dir, in fuse_mknod() 1084 static int fuse_create(struct mnt_idmap *idmap, struct inode *dir, in fuse_create() 1090 static int fuse_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in fuse_tmpfile() 1108 static struct dentry *fuse_mkdir(struct mnt_idmap *idmap, struct inode *dir, in fuse_mkdir() [all …]
|
| /linux/fs/ramfs/ |
| H A D | inode.c | 98 ramfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in ramfs_mknod() 121 static struct dentry *ramfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in ramfs_mkdir() 130 static int ramfs_create(struct mnt_idmap *idmap, struct inode *dir, in ramfs_create() 136 static int ramfs_symlink(struct mnt_idmap *idmap, struct inode *dir, in ramfs_symlink() 166 static int ramfs_tmpfile(struct mnt_idmap *idmap, in ramfs_tmpfile()
|
| /linux/fs/orangefs/ |
| H A D | namei.c | 18 static int orangefs_create(struct mnt_idmap *idmap, in orangefs_create() 215 static int orangefs_symlink(struct mnt_idmap *idmap, in orangefs_symlink() 300 static struct dentry *orangefs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in orangefs_mkdir() 368 static int orangefs_rename(struct mnt_idmap *idmap, in orangefs_rename()
|
| /linux/fs/hfsplus/ |
| H A D | dir.c | 469 static int hfsplus_symlink(struct mnt_idmap *idmap, struct inode *dir, in hfsplus_symlink() 517 static int hfsplus_mknod(struct mnt_idmap *idmap, struct inode *dir, in hfsplus_mknod() 564 static int hfsplus_create(struct mnt_idmap *idmap, struct inode *dir, in hfsplus_create() 570 static struct dentry *hfsplus_mkdir(struct mnt_idmap *idmap, struct inode *dir, in hfsplus_mkdir() 576 static int hfsplus_rename(struct mnt_idmap *idmap, in hfsplus_rename()
|
| /linux/security/integrity/ima/ |
| H A D | ima_appraise.c | 74 int ima_must_appraise(struct mnt_idmap *idmap, struct inode *inode, in ima_must_appraise() argument 661 ima_inode_post_setattr(struct mnt_idmap * idmap,struct dentry * dentry,int ia_valid) ima_inode_post_setattr() argument 784 ima_inode_setxattr(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len,int flags) ima_inode_setxattr() argument 817 ima_inode_set_acl(struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name,struct posix_acl * kacl) ima_inode_set_acl() argument 826 ima_inode_removexattr(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name) ima_inode_removexattr() argument 842 ima_inode_remove_acl(struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name) ima_inode_remove_acl() argument [all...] |
| /linux/fs/hpfs/ |
| H A D | namei.c | 22 static struct dentry *hpfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in hpfs_mkdir() 131 static int hpfs_create(struct mnt_idmap *idmap, struct inode *dir, in hpfs_create() 218 static int hpfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in hpfs_mknod() 292 static int hpfs_symlink(struct mnt_idmap *idmap, struct inode *dir, in hpfs_symlink() 503 static int hpfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, in hpfs_rename()
|
| /linux/fs/efivarfs/ |
| H A D | inode.c | 77 static int efivarfs_create(struct mnt_idmap *idmap, struct inode *dir, in efivarfs_create() 153 efivarfs_fileattr_set(struct mnt_idmap *idmap, in efivarfs_fileattr_set() 173 static int efivarfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in efivarfs_setattr()
|
| /linux/fs/coda/ |
| H A D | dir.c | 76 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/hfs/ |
| H A D | dir.c | 192 static int hfs_create(struct mnt_idmap *idmap, struct inode *dir, in hfs_create() 222 static struct dentry *hfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in hfs_mkdir() 290 static int hfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, in hfs_rename()
|
| /linux/fs/kernfs/ |
| H A D | inode.c | 111 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/9p/ |
| H A D | vfs_inode_dotl.c | 220 v9fs_vfs_create_dotl(struct mnt_idmap *idmap, struct inode *dir, in v9fs_vfs_create_dotl() 348 static struct dentry *v9fs_vfs_mkdir_dotl(struct mnt_idmap *idmap, in v9fs_vfs_mkdir_dotl() 419 v9fs_vfs_getattr_dotl(struct mnt_idmap *idmap, in v9fs_vfs_getattr_dotl() 513 int v9fs_vfs_setattr_dotl(struct mnt_idmap *idmap, in v9fs_vfs_setattr_dotl() 683 v9fs_vfs_symlink_dotl(struct mnt_idmap *idmap, struct inode *dir, in v9fs_vfs_symlink_dotl() 788 v9fs_vfs_mknod_dotl(struct mnt_idmap *idmap, struct inode *dir, in v9fs_vfs_mknod_dotl()
|
| H A D | vfs_inode.c | 645 v9fs_vfs_create(struct mnt_idmap *idmap, struct inode *dir, in v9fs_vfs_create() 672 static struct dentry *v9fs_vfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in v9fs_vfs_mkdir() 856 v9fs_vfs_rename(struct mnt_idmap *idmap, struct inode *old_dir, in v9fs_vfs_rename() 964 v9fs_vfs_getattr(struct mnt_idmap *idmap, const struct path *path, in v9fs_vfs_getattr() 1012 static int v9fs_vfs_setattr(struct mnt_idmap *idmap, in v9fs_vfs_setattr() 1245 v9fs_vfs_symlink(struct mnt_idmap *idmap, struct inode *dir, in v9fs_vfs_symlink() 1300 v9fs_vfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in v9fs_vfs_mknod()
|
| /linux/fs/ubifs/ |
| H A D | dir.c | 305 static int ubifs_create(struct mnt_idmap *idmap, struct inode *dir, in ubifs_create() 443 static int ubifs_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in ubifs_tmpfile() 1005 static struct dentry *ubifs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in ubifs_mkdir() 1080 static int ubifs_mknod(struct mnt_idmap *idmap, struct inode *dir, in ubifs_mknod() 1173 static int ubifs_symlink(struct mnt_idmap *idmap, struct inode *dir, in ubifs_symlink() 1645 static int ubifs_rename(struct mnt_idmap *idmap, in ubifs_rename() 1670 int ubifs_getattr(struct mnt_idmap *idmap, const struct path *path, in ubifs_getattr()
|
| /linux/fs/vboxsf/ |
| H A D | dir.c | 299 static int vboxsf_dir_mkfile(struct mnt_idmap *idmap, in vboxsf_dir_mkfile() 306 static struct dentry *vboxsf_dir_mkdir(struct mnt_idmap *idmap, in vboxsf_dir_mkdir() 385 static int vboxsf_dir_rename(struct mnt_idmap *idmap, in vboxsf_dir_rename() 428 static int vboxsf_dir_symlink(struct mnt_idmap *idmap, in vboxsf_dir_symlink()
|
| /linux/fs/f2fs/ |
| H A D | acl.c | 208 static int f2fs_acl_update_mode(struct mnt_idmap *idmap, in f2fs_acl_update_mode() 229 static int __f2fs_set_acl(struct mnt_idmap *idmap, in __f2fs_set_acl() 278 int f2fs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in f2fs_set_acl()
|
| /linux/fs/hostfs/ |
| H A D | hostfs_kern.c | 595 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()
|