/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | policy.c | 77 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 D | zpl_ctldir.c | 105 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 D | zpl_inode.c | 132 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 D | zpl_xattr.c | 1248 if (!zpl_inode_owner_or_capable(kcred->user_ns, ip)) 1287 if (!zpl_inode_owner_or_capable(kcred->user_ns, ip))
|
H A D | zpl_file.c | 869 if (!zpl_inode_owner_or_capable(kcred->user_ns, ip))
|
H A D | zfs_vnops_os.c | 1659 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 D | vfs_compat.h | 302 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 D | xattr_compat.h | 131 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));
|