| /freebsd-13.1/sys/contrib/openzfs/config/ |
| H A D | kernel-setattr-prepare.m4 | 19 dnl # for struct user_namespace* 26 struct user_namespace *userns = NULL; 33 AC_MSG_CHECKING([whether setattr_prepare() is available and accepts struct user_namespace*]) 38 [setattr_prepare() accepts user_namespace]) 42 AC_MSG_CHECKING([whether setattr_prepare() is available, doesn't accept user_namespace]) 47 [setattr_prepare() is available, doesn't accept user_namespace])
|
| H A D | kernel-generic_fillattr.m4 | 4 dnl # generic_fillattr in linux/fs.h now requires a struct user_namespace* 11 struct user_namespace *userns = NULL; 19 AC_MSG_CHECKING([whether generic_fillattr requires struct user_namespace*]) 23 [generic_fillattr requires struct user_namespace*])
|
| H A D | kernel-symlink.m4 | 3 dnl # 5.12 API change that added the struct user_namespace* arg 10 int tmp_symlink(struct user_namespace *userns, 22 AC_MSG_CHECKING([whether iops->symlink() takes struct user_namespace*]) 26 [iops->symlink() takes struct user_namespace*])
|
| H A D | kernel-mknod.m4 | 3 dnl # 5.12 API change that added the struct user_namespace* arg 10 int tmp_mknod(struct user_namespace *userns, 22 AC_MSG_CHECKING([whether iops->mknod() takes struct user_namespace*]) 26 [iops->mknod() takes struct user_namespace*])
|
| H A D | kernel-userns-capabilities.m4 | 9 ns_capable((struct user_namespace *)NULL, CAP_SYS_ADMIN); 51 dnl # struct user_namespace was added to struct cred_t as cred->user_ns member 58 cr.user_ns = (struct user_namespace *)NULL; 80 kuid_has_mapping((struct user_namespace *)NULL, KUIDT_INIT(0)); 81 kgid_has_mapping((struct user_namespace *)NULL, KGIDT_INIT(0));
|
| H A D | kernel-mkdir.m4 | 7 dnl # The struct user_namespace arg was added as the first argument to 13 int mkdir(struct user_namespace *userns, 47 dnl # The struct user_namespace arg was added as the first argument to 50 AC_MSG_CHECKING([whether iops->mkdir() takes struct user_namespace*]) 54 [iops->mkdir() takes struct user_namespace*])
|
| H A D | kernel-inode-create.m4 | 3 dnl # 5.12 API change that added the struct user_namespace* arg 10 int inode_create(struct user_namespace *userns, 38 AC_MSG_CHECKING([whether iops->create() takes struct user_namespace*]) 42 [iops->create() takes struct user_namespace*])
|
| H A D | kernel-rename.m4 | 22 dnl # Linux 5.12 introduced passing struct user_namespace* as the first argument 27 int rename_fn(struct user_namespace *user_ns, struct inode *sip, 39 AC_MSG_CHECKING([whether iops->rename() takes struct user_namespace*]) 43 [iops->rename() takes struct user_namespace*])
|
| H A D | kernel-super-userns.m4 | 3 dnl # struct user_namespace was added to struct super_block as 9 #include <linux/user_namespace.h> 12 super.s_user_ns = (struct user_namespace *)NULL;
|
| H A D | kernel-inode-getattr.m4 | 5 dnl # a struct user_namespace* as its first arg, to support idmapped 12 struct user_namespace *userns, 60 AC_MSG_CHECKING([whether iops->getattr() takes user_namespace]) 64 [iops->getattr() takes struct user_namespace*])
|
| H A D | kernel-xattr-handler.m4 | 159 struct user_namespace *mnt_userns, 214 dnl # struct user_namespace* was inserted as arg #2 216 AC_MSG_CHECKING([whether xattr_handler->set() wants dentry, inode, and user_namespace]) 220 [xattr_handler->set() takes user_namespace])
|
| H A D | kernel-acl.m4 | 142 struct user_namespace *user_ns = NULL; 214 dnl # set_acl() added a user_namespace* parameter first 220 int set_acl_fn(struct user_namespace *userns,
|
| H A D | kernel-is_owner_or_cap.m4 | 8 dnl # inode_owner_or_capable() now takes struct user_namespace *
|
| H A D | kernel-tmpfile.m4 | 12 int tmpfile(struct user_namespace *userns,
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/user_namespace/ |
| H A D | user_namespace_common.kshlib | 23 . $STF_SUITE/tests/functional/user_namespace/user_namespace.cfg
|
| H A D | Makefile.am | 1 pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/tests/functional/user_namespace 9 user_namespace.cfg
|
| H A D | user_namespace_001.ksh | 23 . $STF_SUITE/tests/functional/user_namespace/user_namespace_common.kshlib
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zpl_inode.c | 132 zpl_create(struct user_namespace *user_ns, struct inode *dir, in zpl_create() 175 zpl_mknod(struct user_namespace *user_ns, struct inode *dir, in zpl_mknod() 228 zpl_tmpfile(struct user_namespace *userns, struct inode *dir, in zpl_tmpfile() 303 zpl_mkdir(struct user_namespace *user_ns, struct inode *dir, in zpl_mkdir() 371 zpl_getattr_impl(struct user_namespace *user_ns, in zpl_getattr_impl() 430 zpl_setattr(struct user_namespace *user_ns, struct dentry *dentry, in zpl_setattr() 475 zpl_rename2(struct user_namespace *user_ns, struct inode *sdip, in zpl_rename2() 513 zpl_symlink(struct user_namespace *user_ns, struct inode *dir, in zpl_symlink()
|
| H A D | zpl_ctldir.c | 105 zpl_root_getattr_impl(struct user_namespace *user_ns, in zpl_root_getattr_impl() 304 zpl_snapdir_rename2(struct user_namespace *user_ns, struct inode *sdip, in zpl_snapdir_rename2() 353 zpl_snapdir_mkdir(struct user_namespace *user_ns, struct inode *dip, in zpl_snapdir_mkdir() 388 zpl_snapdir_getattr_impl(struct user_namespace *user_ns, in zpl_snapdir_getattr_impl() 530 zpl_shares_getattr_impl(struct user_namespace *user_ns, in zpl_shares_getattr_impl()
|
| H A D | policy.c | 46 struct user_namespace *ns) in priv_policy_ns()
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/ |
| H A D | Makefile.am | 81 user_namespace \ subdir
|
| /freebsd-13.1/sys/contrib/openzfs/tests/runfiles/ |
| H A D | linux.run | 179 [tests/functional/user_namespace:Linux] 181 tags = ['functional', 'user_namespace']
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | zfs_vnops_os.h | 57 extern int zfs_getattr_fast(struct user_namespace *, struct inode *ip,
|
| H A D | zpl.h | 67 extern int zpl_set_acl(struct user_namespace *userns, struct inode *ip,
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
| H A D | xattr_compat.h | 131 fn(const struct xattr_handler *handler, struct user_namespace *user_ns, \
|