Lines Matching refs:user_ns
210 posix_acl_valid(struct user_namespace *user_ns, const struct posix_acl *acl) in posix_acl_valid() argument
230 if (!kuid_has_mapping(user_ns, pa->e_uid)) in posix_acl_valid()
245 if (!kgid_has_mapping(user_ns, pa->e_gid)) in posix_acl_valid()
707 struct user_namespace *user_ns = current_user_ns(); in posix_acl_fix_xattr_from_user() local
708 if (user_ns == &init_user_ns) in posix_acl_fix_xattr_from_user()
710 posix_acl_fix_xattr_userns(&init_user_ns, user_ns, value, size); in posix_acl_fix_xattr_from_user()
715 struct user_namespace *user_ns = current_user_ns(); in posix_acl_fix_xattr_to_user() local
716 if (user_ns == &init_user_ns) in posix_acl_fix_xattr_to_user()
718 posix_acl_fix_xattr_userns(user_ns, &init_user_ns, value, size); in posix_acl_fix_xattr_to_user()
725 posix_acl_from_xattr(struct user_namespace *user_ns, in posix_acl_from_xattr() argument
765 make_kuid(user_ns, in posix_acl_from_xattr()
772 make_kgid(user_ns, in posix_acl_from_xattr()
794 posix_acl_to_xattr(struct user_namespace *user_ns, const struct posix_acl *acl, in posix_acl_to_xattr() argument
817 cpu_to_le32(from_kuid(user_ns, acl_e->e_uid)); in posix_acl_to_xattr()
821 cpu_to_le32(from_kgid(user_ns, acl_e->e_gid)); in posix_acl_to_xattr()