Searched refs:userns (Results 1 - 6 of 6) sorted by relevance

/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/user_namespace/
H A Duser_namespace_002.ksh43 log_must zfs unzone $proc_ns_added $TESTPOOL/userns
50 log_must zfs destroy -r $TESTPOOL/userns
58 log_must zfs create -o zoned=on $TESTPOOL/userns
59 log_must zfs create -o zoned=on $TESTPOOL/userns/testds
87 log_must zfs zone $proc_ns $TESTPOOL/userns
92 log_must test "$list" = "$TESTPOOL $TESTPOOL/userns $TESTPOOL/userns/testds "
95 log_must $NSENTER zfs create $TESTPOOL/userns/created
100 log_must $NSENTER df -h /$TESTPOOL/userns/created
101 log_must $NSENTER mkfile 8192 /$TESTPOOL/userns/create
[all...]
H A Duser_namespace_003.ksh40 log_must zfs unzone $proc_ns_added $TESTPOOL/userns
48 log_must zfs destroy -r $TESTPOOL/userns
58 log_must zfs create -o zoned=on $TESTPOOL/userns
89 log_must zfs zone $proc_ns $TESTPOOL/userns
95 log_must test "$list" = "$TESTPOOL $TESTPOOL/otheruserns $TESTPOOL/userns "
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-zone.c68 user_ns_get(int fd, struct user_namespace **userns) argument
90 *userns = container_of(ns, struct user_namespace, ns);
172 struct user_namespace *userns; local
182 if ((error = user_ns_get(userns_fd, &userns)) != 0)
186 zds = zone_datasets_lookup(user_ns_zoneid(userns));
191 zds->zds_userns = userns;
196 get_user_ns(userns);
224 struct user_namespace *userns; local
234 if ((error = user_ns_get(userns_fd, &userns)) != 0)
238 zds = zone_datasets_lookup(user_ns_zoneid(userns));
[all...]
/freebsd-current/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzpl.h79 extern int zpl_set_acl(struct user_namespace *userns, struct inode *ip,
82 extern int zpl_set_acl(struct user_namespace *userns, struct dentry *dentry,
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_inode.c244 zpl_tmpfile(struct mnt_idmap *userns, struct inode *dir, argument
247 zpl_tmpfile(struct user_namespace *userns, struct inode *dir,
251 zpl_tmpfile(struct user_namespace *userns, struct inode *dir,
264 zidmap_t *userns = kcred->user_ns; local
275 zpl_vap_init(vap, dir, mode, cr, userns);
278 error = -zfs_tmpfile(dir, vap, 0, mode, &ip, cr, 0, NULL, userns);
H A Dzpl_xattr.c1063 zpl_set_acl(struct user_namespace *userns, struct inode *ip, argument
1066 zpl_set_acl(struct mnt_idmap *userns, struct dentry *dentry,
1069 zpl_set_acl(struct user_namespace *userns, struct dentry *dentry,

Completed in 277 milliseconds