Home
last modified time | relevance | path

Searched refs:user_namespace (Results 1 – 25 of 271) sorted by relevance

1234567891011

/fs/smb/server/
Dvfs.h75 void ksmbd_vfs_query_maximal_access(struct user_namespace *user_ns,
103 ssize_t ksmbd_vfs_getxattr(struct user_namespace *user_ns,
107 ssize_t ksmbd_vfs_casexattr_len(struct user_namespace *user_ns,
110 int ksmbd_vfs_setxattr(struct user_namespace *user_ns,
116 int ksmbd_vfs_remove_xattr(struct user_namespace *user_ns,
137 struct user_namespace *user_ns,
143 int ksmbd_vfs_remove_acl_xattrs(struct user_namespace *user_ns,
145 int ksmbd_vfs_remove_sd_xattrs(struct user_namespace *user_ns, const struct path *path);
147 struct user_namespace *user_ns,
152 struct user_namespace *user_ns,
[all …]
Dvfs.c140 void ksmbd_vfs_query_maximal_access(struct user_namespace *user_ns, in ksmbd_vfs_query_maximal_access()
209 struct user_namespace *user_ns; in ksmbd_vfs_mkdir()
254 static ssize_t ksmbd_vfs_getcasexattr(struct user_namespace *user_ns, in ksmbd_vfs_getcasexattr()
418 struct user_namespace *user_ns = file_mnt_user_ns(fp->filp); in ksmbd_vfs_stream_write()
597 struct user_namespace *user_ns; in ksmbd_vfs_remove_file()
870 static ssize_t ksmbd_vfs_xattr_len(struct user_namespace *user_ns, in ksmbd_vfs_xattr_len()
885 ssize_t ksmbd_vfs_getxattr(struct user_namespace *user_ns, in ksmbd_vfs_getxattr()
922 int ksmbd_vfs_setxattr(struct user_namespace *user_ns, in ksmbd_vfs_setxattr()
1047 int ksmbd_vfs_remove_xattr(struct user_namespace *user_ns, in ksmbd_vfs_remove_xattr()
1066 struct user_namespace *user_ns = file_mnt_user_ns(filp); in ksmbd_vfs_unlink()
[all …]
Dsmbacl.h193 int parse_sec_desc(struct user_namespace *user_ns, struct smb_ntsd *pntsd,
195 int build_sec_desc(struct user_namespace *user_ns, struct smb_ntsd *pntsd,
214 static inline uid_t posix_acl_uid_translate(struct user_namespace *mnt_userns, in posix_acl_uid_translate()
226 static inline gid_t posix_acl_gid_translate(struct user_namespace *mnt_userns, in posix_acl_gid_translate()
/fs/
Dposix_acl.c223 posix_acl_valid(struct user_namespace *user_ns, const struct posix_acl *acl) in posix_acl_valid()
361 posix_acl_permission(struct user_namespace *mnt_userns, struct inode *inode, in posix_acl_permission()
365 struct user_namespace *fs_userns = i_user_ns(inode); in posix_acl_permission()
591 posix_acl_chmod(struct user_namespace *mnt_userns, struct inode *inode, in posix_acl_chmod()
691 int posix_acl_update_mode(struct user_namespace *mnt_userns, in posix_acl_update_mode()
735 void posix_acl_getxattr_idmapped_mnt(struct user_namespace *mnt_userns, in posix_acl_getxattr_idmapped_mnt()
741 struct user_namespace *fs_userns = i_user_ns(inode); in posix_acl_getxattr_idmapped_mnt()
776 struct user_namespace *to, struct user_namespace *from, in posix_acl_fix_xattr_userns()
807 struct user_namespace *user_ns = current_user_ns(); in posix_acl_fix_xattr_from_user()
815 struct user_namespace *user_ns = current_user_ns(); in posix_acl_fix_xattr_to_user()
[all …]
Dbad_inode.c30 static int bad_inode_create(struct user_namespace *mnt_userns, in bad_inode_create()
54 static int bad_inode_symlink(struct user_namespace *mnt_userns, in bad_inode_symlink()
61 static int bad_inode_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in bad_inode_mkdir()
72 static int bad_inode_mknod(struct user_namespace *mnt_userns, struct inode *dir, in bad_inode_mknod()
78 static int bad_inode_rename2(struct user_namespace *mnt_userns, in bad_inode_rename2()
92 static int bad_inode_permission(struct user_namespace *mnt_userns, in bad_inode_permission()
98 static int bad_inode_getattr(struct user_namespace *mnt_userns, in bad_inode_getattr()
105 static int bad_inode_setattr(struct user_namespace *mnt_userns, in bad_inode_setattr()
149 static int bad_inode_tmpfile(struct user_namespace *mnt_userns, in bad_inode_tmpfile()
156 static int bad_inode_set_acl(struct user_namespace *mnt_userns, in bad_inode_set_acl()
Dattr.c36 int setattr_should_drop_sgid(struct user_namespace *mnt_userns, in setattr_should_drop_sgid()
67 int setattr_should_drop_suidgid(struct user_namespace *mnt_userns, in setattr_should_drop_suidgid()
98 static bool chown_ok(struct user_namespace *mnt_userns, in chown_ok()
125 static bool chgrp_ok(struct user_namespace *mnt_userns, in chgrp_ok()
165 int setattr_prepare(struct user_namespace *mnt_userns, struct dentry *dentry, in setattr_prepare()
303 void setattr_copy(struct user_namespace *mnt_userns, struct inode *inode, in setattr_copy()
326 int may_setattr(struct user_namespace *mnt_userns, struct inode *inode, in may_setattr()
381 int notify_change(struct user_namespace *mnt_userns, struct dentry *dentry, in notify_change()
Dinternal.h17 struct user_namespace;
66 int may_linkat(struct user_namespace *mnt_userns, const struct path *link);
153 int dentry_needs_remove_privs(struct user_namespace *, struct dentry *dentry);
154 bool in_group_or_capable(struct user_namespace *mnt_userns,
232 ssize_t do_getxattr(struct user_namespace *mnt_userns,
237 int do_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry,
Dxattr.c88 xattr_permission(struct user_namespace *mnt_userns, struct inode *inode, in xattr_permission()
169 __vfs_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in __vfs_setxattr()
204 int __vfs_setxattr_noperm(struct user_namespace *mnt_userns, in __vfs_setxattr_noperm()
257 __vfs_setxattr_locked(struct user_namespace *mnt_userns, struct dentry *dentry, in __vfs_setxattr_locked()
292 vfs_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in vfs_setxattr()
326 xattr_getsecurity(struct user_namespace *mnt_userns, struct inode *inode, in xattr_getsecurity()
362 vfs_getxattr_alloc(struct user_namespace *mnt_userns, struct dentry *dentry, in vfs_getxattr_alloc()
412 vfs_getxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in vfs_getxattr()
468 __vfs_removexattr(struct user_namespace *mnt_userns, struct dentry *dentry, in __vfs_removexattr()
495 __vfs_removexattr_locked(struct user_namespace *mnt_userns, in __vfs_removexattr_locked()
[all …]
Dnamei.c292 static int check_acl(struct user_namespace *mnt_userns, in check_acl()
337 static int acl_permission_check(struct user_namespace *mnt_userns, in acl_permission_check()
398 int generic_permission(struct user_namespace *mnt_userns, struct inode *inode, in generic_permission()
455 static inline int do_inode_permission(struct user_namespace *mnt_userns, in do_inode_permission()
502 int inode_permission(struct user_namespace *mnt_userns, in inode_permission()
1099 struct user_namespace *mnt_userns; in may_follow_link()
1140 static bool safe_hardlink_source(struct user_namespace *mnt_userns, in safe_hardlink_source()
1183 int may_linkat(struct user_namespace *mnt_userns, const struct path *link) in may_linkat()
1233 static int may_create_in_sticky(struct user_namespace *mnt_userns, in may_create_in_sticky()
1711 static inline int may_lookup(struct user_namespace *mnt_userns, in may_lookup()
[all …]
/fs/smb/client/
Dcifsfs.h52 extern int cifs_create(struct user_namespace *, struct inode *,
60 extern int cifs_mknod(struct user_namespace *, struct inode *, struct dentry *,
62 extern int cifs_mkdir(struct user_namespace *, struct inode *, struct dentry *,
65 extern int cifs_rename2(struct user_namespace *, struct inode *,
75 extern int cifs_getattr(struct user_namespace *, const struct path *,
77 extern int cifs_setattr(struct user_namespace *, struct dentry *,
130 extern int cifs_symlink(struct user_namespace *mnt_userns, struct inode *inode,
/fs/minix/
Dnamei.c36 static int minix_mknod(struct user_namespace *mnt_userns, struct inode *dir, in minix_mknod()
55 static int minix_tmpfile(struct user_namespace *mnt_userns, struct inode *dir, in minix_tmpfile()
68 static int minix_create(struct user_namespace *mnt_userns, struct inode *dir, in minix_create()
74 static int minix_symlink(struct user_namespace *mnt_userns, struct inode *dir, in minix_symlink()
114 static int minix_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in minix_mkdir()
187 static int minix_rename(struct user_namespace *mnt_userns, in minix_rename()
/fs/ramfs/
Dinode.c98 ramfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_mknod()
113 static int ramfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_mkdir()
122 static int ramfs_create(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_create()
128 static int ramfs_symlink(struct user_namespace *mnt_userns, struct inode *dir, in ramfs_symlink()
148 static int ramfs_tmpfile(struct user_namespace *mnt_userns, in ramfs_tmpfile()
/fs/sysv/
Dnamei.c44 static int sysv_mknod(struct user_namespace *mnt_userns, struct inode *dir, in sysv_mknod()
64 static int sysv_create(struct user_namespace *mnt_userns, struct inode *dir, in sysv_create()
70 static int sysv_symlink(struct user_namespace *mnt_userns, struct inode *dir, in sysv_symlink()
113 static int sysv_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in sysv_mkdir()
192 static int sysv_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in sysv_rename()
/fs/coda/
Dcoda_linux.h49 int coda_permission(struct user_namespace *mnt_userns, struct inode *inode,
52 int coda_getattr(struct user_namespace *, const struct path *, struct kstat *,
54 int coda_setattr(struct user_namespace *, struct dentry *, struct iattr *);
/fs/ocfs2/
Dfile.h52 int ocfs2_setattr(struct user_namespace *mnt_userns, struct dentry *dentry,
54 int ocfs2_getattr(struct user_namespace *mnt_userns, const struct path *path,
56 int ocfs2_permission(struct user_namespace *mnt_userns,
/fs/xfs/
Dxfs_iops.c165 struct user_namespace *mnt_userns, in xfs_generic_create()
258 struct user_namespace *mnt_userns, in xfs_vn_mknod()
269 struct user_namespace *mnt_userns, in xfs_vn_create()
280 struct user_namespace *mnt_userns, in xfs_vn_mkdir()
403 struct user_namespace *mnt_userns, in xfs_vn_symlink()
446 struct user_namespace *mnt_userns, in xfs_vn_rename()
552 struct user_namespace *mnt_userns, in xfs_vn_getattr()
630 struct user_namespace *mnt_userns, in xfs_vn_change_ok()
653 struct user_namespace *mnt_userns, in xfs_setattr_nonsize()
781 struct user_namespace *mnt_userns, in xfs_setattr_size()
[all …]
/fs/ext2/
Dnamei.c102 static int ext2_create (struct user_namespace * mnt_userns, in ext2_create()
122 static int ext2_tmpfile(struct user_namespace *mnt_userns, struct inode *dir, in ext2_tmpfile()
136 static int ext2_mknod (struct user_namespace * mnt_userns, struct inode * dir, in ext2_mknod()
157 static int ext2_symlink (struct user_namespace * mnt_userns, struct inode * dir, in ext2_symlink()
228 static int ext2_mkdir(struct user_namespace * mnt_userns, in ext2_mkdir()
318 static int ext2_rename (struct user_namespace * mnt_userns, in ext2_rename()
/fs/ufs/
Dnamei.c72 static int ufs_create (struct user_namespace * mnt_userns, in ufs_create()
89 static int ufs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in ufs_mknod()
109 static int ufs_symlink (struct user_namespace * mnt_userns, struct inode * dir, in ufs_symlink()
169 static int ufs_mkdir(struct user_namespace * mnt_userns, struct inode * dir, in ufs_mkdir()
246 static int ufs_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in ufs_rename()
/fs/kernfs/
Dkernfs-internal.h130 int kernfs_iop_permission(struct user_namespace *mnt_userns,
132 int kernfs_iop_setattr(struct user_namespace *mnt_userns, struct dentry *dentry,
134 int kernfs_iop_getattr(struct user_namespace *mnt_userns,
Dinode.c110 int kernfs_iop_setattr(struct user_namespace *mnt_userns, struct dentry *dentry, in kernfs_iop_setattr()
184 int kernfs_iop_getattr(struct user_namespace *mnt_userns, in kernfs_iop_getattr()
277 int kernfs_iop_permission(struct user_namespace *mnt_userns, in kernfs_iop_permission()
331 struct user_namespace *mnt_userns, in kernfs_vfs_xattr_set()
398 struct user_namespace *mnt_userns, in kernfs_vfs_user_xattr_set()
/fs/ntfs3/
Dnamei.c105 static int ntfs_create(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_create()
121 static int ntfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_mknod()
194 static int ntfs_symlink(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_symlink()
209 static int ntfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_mkdir()
240 static int ntfs_rename(struct user_namespace *mnt_userns, struct inode *dir, in ntfs_rename()
/fs/affs/
Daffs.h170 extern int affs_create(struct user_namespace *mnt_userns, struct inode *dir,
172 extern int affs_mkdir(struct user_namespace *mnt_userns, struct inode *dir,
177 extern int affs_symlink(struct user_namespace *mnt_userns,
180 extern int affs_rename2(struct user_namespace *mnt_userns,
188 extern int affs_notify_change(struct user_namespace *mnt_userns,
/fs/jffs2/
Ddir.c27 static int jffs2_create (struct user_namespace *, struct inode *,
33 static int jffs2_symlink (struct user_namespace *, struct inode *,
35 static int jffs2_mkdir (struct user_namespace *, struct inode *,struct dentry *,
38 static int jffs2_mknod (struct user_namespace *, struct inode *,struct dentry *,
40 static int jffs2_rename (struct user_namespace *, struct inode *,
163 static int jffs2_create(struct user_namespace *mnt_userns, struct inode *dir_i, in jffs2_create()
282 static int jffs2_symlink (struct user_namespace *mnt_userns, struct inode *dir_i, in jffs2_symlink()
445 static int jffs2_mkdir (struct user_namespace *mnt_userns, struct inode *dir_i, in jffs2_mkdir()
617 static int jffs2_mknod (struct user_namespace *mnt_userns, struct inode *dir_i, in jffs2_mknod()
765 static int jffs2_rename (struct user_namespace *mnt_userns, in jffs2_rename()
/fs/nfs/
Dnfs3xdr.c110 static struct user_namespace *rpc_userns(const struct rpc_clnt *clnt) in rpc_userns()
117 static struct user_namespace *rpc_rqst_userns(const struct rpc_rqst *rqstp) in rpc_rqst_userns()
537 struct user_namespace *userns) in encode_sattr3()
624 struct user_namespace *userns) in decode_fattr3()
678 struct user_namespace *userns) in decode_post_op_attr()
748 struct user_namespace *userns) in decode_wcc_data()
1020 struct user_namespace *userns) in encode_createhow3()
1079 struct user_namespace *userns) in encode_symlinkdata3()
1124 struct user_namespace *userns) in encode_devicedata3()
1132 struct user_namespace *userns) in encode_mknoddata3()
[all …]
/fs/ecryptfs/
Dinode.c262 ecryptfs_create(struct user_namespace *mnt_userns, in ecryptfs_create()
465 static int ecryptfs_symlink(struct user_namespace *mnt_userns, in ecryptfs_symlink()
504 static int ecryptfs_mkdir(struct user_namespace *mnt_userns, struct inode *dir, in ecryptfs_mkdir()
557 ecryptfs_mknod(struct user_namespace *mnt_userns, struct inode *dir, in ecryptfs_mknod()
583 ecryptfs_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in ecryptfs_rename()
873 ecryptfs_permission(struct user_namespace *mnt_userns, struct inode *inode, in ecryptfs_permission()
893 static int ecryptfs_setattr(struct user_namespace *mnt_userns, in ecryptfs_setattr()
981 static int ecryptfs_getattr_link(struct user_namespace *mnt_userns, in ecryptfs_getattr_link()
1007 static int ecryptfs_getattr(struct user_namespace *mnt_userns, in ecryptfs_getattr()
1119 static int ecryptfs_fileattr_set(struct user_namespace *mnt_userns, in ecryptfs_fileattr_set()
[all …]

1234567891011