Searched refs:user_ns (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/
H A Dpolicy.c77 return (priv_policy_ns(cr, capability, err, cr->user_ns));
127 if (zpl_inode_owner_or_capable(kcred->user_ns, ip))
131 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner)))
154 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner)))
191 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner)))
220 if (!kgid_has_mapping(cr->user_ns, SGID_TO_KGID(gid)))
293 if (!kuid_has_mapping(cr->user_ns, SUID_TO_KUID(owner)))
H A Dzpl_ctldir.c105 zpl_root_getattr_impl(struct user_namespace *user_ns, argument
116 generic_fillattr(user_ns, ip, stat);
304 zpl_snapdir_rename2(struct user_namespace *user_ns, struct inode *sdip, argument
353 zpl_snapdir_mkdir(struct user_namespace *user_ns, struct inode *dip, argument
388 zpl_snapdir_getattr_impl(struct user_namespace *user_ns, argument
401 generic_fillattr(user_ns, ip, stat);
530 zpl_shares_getattr_impl(struct user_namespace *user_ns, argument
547 generic_fillattr(user_ns, path->dentry->d_inode, stat);
560 error = -zfs_getattr_fast(user_ns, ZTOI(dzp), stat);
562 error = -zfs_getattr_fast(kcred->user_ns, ZTO
[all...]
H A Dzpl_inode.c132 zpl_create(struct user_namespace *user_ns, struct inode *dir, argument
175 zpl_mknod(struct user_namespace *user_ns, struct inode *dir, argument
303 zpl_mkdir(struct user_namespace *user_ns, struct inode *dir, argument
371 zpl_getattr_impl(struct user_namespace *user_ns, argument
389 error = -zfs_getattr_fast(user_ns, path->dentry->d_inode, stat);
391 error = -zfs_getattr_fast(kcred->user_ns, path->dentry->d_inode, stat);
402 zpl_setattr(struct user_namespace *user_ns, struct dentry *dentry, argument
414 error = zpl_setattr_prepare(kcred->user_ns, dentry, ia);
447 zpl_rename2(struct user_namespace *user_ns, struct inode *sdip, argument
485 zpl_symlink(struct user_namespace *user_ns, struc argument
[all...]
H A Dzpl_xattr.c1248 if (!zpl_inode_owner_or_capable(kcred->user_ns, ip))
1287 if (!zpl_inode_owner_or_capable(kcred->user_ns, ip))
H A Dzpl_file.c869 if (!zpl_inode_owner_or_capable(kcred->user_ns, ip))
H A Dzfs_vnops_os.c1659 zfs_getattr_fast(struct user_namespace *user_ns, struct inode *ip, argument
1672 zpl_generic_fillattr(user_ns, ip, sp);
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dvfs_compat.h302 return (from_kuid(kcred->user_ns, ip->i_uid));
316 return (from_kgid(kcred->user_ns, ip->i_gid));
330 ip->i_uid = make_kuid(kcred->user_ns, uid);
339 ip->i_gid = make_kgid(kcred->user_ns, gid);
396 func(struct user_namespace *user_ns, const struct path *path, \
399 return (func##_impl(user_ns, path, stat, request_mask, \
455 #define zpl_generic_fillattr(user_ns, ip, sp) \
456 generic_fillattr(user_ns, ip, sp)
458 #define zpl_generic_fillattr(user_ns, ip, sp) generic_fillattr(ip, sp)
H A Dxattr_compat.h131 fn(const struct xattr_handler *handler, struct user_namespace *user_ns, \
183 * Linux 3.7 API change. posix_acl_{from,to}_xattr gained the user_ns
190 return (posix_acl_from_xattr(kcred->user_ns, value, size));
196 return (posix_acl_to_xattr(kcred->user_ns, acl, value, size));

Completed in 78 milliseconds