/linux-6.1.9/fs/nfs/ |
D | nfs3xdr.c | 537 struct user_namespace *userns) in encode_sattr3() argument 571 *p++ = cpu_to_be32(from_kuid_munged(userns, attr->ia_uid)); in encode_sattr3() 577 *p++ = cpu_to_be32(from_kgid_munged(userns, attr->ia_gid)); in encode_sattr3() 624 struct user_namespace *userns) in decode_fattr3() argument 637 fattr->uid = make_kuid(userns, be32_to_cpup(p++)); in decode_fattr3() 640 fattr->gid = make_kgid(userns, be32_to_cpup(p++)); in decode_fattr3() 678 struct user_namespace *userns) in decode_post_op_attr() argument 686 return decode_fattr3(xdr, fattr, userns); in decode_post_op_attr() 748 struct user_namespace *userns) in decode_wcc_data() argument 755 error = decode_post_op_attr(xdr, fattr, userns); in decode_wcc_data() [all …]
|
D | nfs2xdr.c | 267 struct user_namespace *userns) in decode_fattr() argument 282 fattr->uid = make_kuid(userns, be32_to_cpup(p++)); in decode_fattr() 285 fattr->gid = make_kgid(userns, be32_to_cpup(p++)); in decode_fattr() 341 struct user_namespace *userns) in encode_sattr() argument 352 *p++ = cpu_to_be32(from_kuid_munged(userns, attr->ia_uid)); in encode_sattr() 356 *p++ = cpu_to_be32(from_kgid_munged(userns, attr->ia_gid)); in encode_sattr() 467 struct user_namespace *userns) in decode_attrstat() argument 479 error = decode_fattr(xdr, result, userns); in decode_attrstat() 515 struct user_namespace *userns) in decode_diropok() argument 522 error = decode_fattr(xdr, result->fattr, userns); in decode_diropok() [all …]
|
/linux-6.1.9/net/sunrpc/ |
D | auth_unix.c | 118 struct user_namespace *userns = clnt->cl_cred ? in unx_marshal() local 135 *p++ = cpu_to_be32(from_kuid_munged(userns, cred->cr_cred->fsuid)); in unx_marshal() 136 *p++ = cpu_to_be32(from_kgid_munged(userns, cred->cr_cred->fsgid)); in unx_marshal() 141 *p++ = cpu_to_be32(from_kgid_munged(userns, gi->gid[i])); in unx_marshal()
|
D | svcauth_unix.c | 857 struct user_namespace *userns; in svcauth_unix_accept() local 878 userns = (rqstp->rq_xprt && rqstp->rq_xprt->xpt_cred) ? in svcauth_unix_accept() 880 cred->cr_uid = make_kuid(userns, svc_getnl(argv)); /* uid */ in svcauth_unix_accept() 881 cred->cr_gid = make_kgid(userns, svc_getnl(argv)); /* gid */ in svcauth_unix_accept() 889 kgid_t kgid = make_kgid(userns, svc_getnl(argv)); in svcauth_unix_accept()
|
/linux-6.1.9/tools/testing/selftests/rlimits/ |
D | .gitignore | 2 rlimits-per-userns
|
D | Makefile | 4 TEST_GEN_PROGS := rlimits-per-userns
|
/linux-6.1.9/fs/nfsd/ |
D | export.c | 1269 struct user_namespace *userns = m->file->f_cred->user_ns; in exp_flags() local 1274 if (!uid_eq(anonu, make_kuid(userns, (uid_t)-2)) && in exp_flags() 1275 !uid_eq(anonu, make_kuid(userns, 0x10000-2))) in exp_flags() 1276 seq_printf(m, ",anonuid=%u", from_kuid_munged(userns, anonu)); in exp_flags() 1277 if (!gid_eq(anong, make_kgid(userns, (gid_t)-2)) && in exp_flags() 1278 !gid_eq(anong, make_kgid(userns, 0x10000-2))) in exp_flags() 1279 seq_printf(m, ",anongid=%u", from_kgid_munged(userns, anong)); in exp_flags()
|
D | nfsxdr.c | 217 struct user_namespace *userns = nfsd_user_namespace(rqstp); in svcxdr_encode_fattr() local 231 *p++ = cpu_to_be32((u32)from_kuid_munged(userns, stat->uid)); in svcxdr_encode_fattr() 232 *p++ = cpu_to_be32((u32)from_kgid_munged(userns, stat->gid)); in svcxdr_encode_fattr()
|
D | nfs3xdr.c | 341 struct user_namespace *userns = nfsd_user_namespace(rqstp); in svcxdr_encode_fattr3() local 352 *p++ = cpu_to_be32((u32)from_kuid_munged(userns, stat->uid)); in svcxdr_encode_fattr3() 353 *p++ = cpu_to_be32((u32)from_kgid_munged(userns, stat->gid)); in svcxdr_encode_fattr3()
|
D | nfs4xdr.c | 682 struct user_namespace *userns = nfsd_user_namespace(argp->rqstp); in nfsd4_decode_authsys_parms() local 684 kuid_t kuid = make_kuid(userns, uid); in nfsd4_decode_authsys_parms() 685 kgid_t kgid = make_kgid(userns, gid); in nfsd4_decode_authsys_parms()
|
/linux-6.1.9/security/apparmor/ |
D | policy.c | 638 struct user_namespace *userns, int cap) in policy_ns_capable() argument 643 err = cap_capable(current_cred(), userns, cap, CAP_OPT_NONE); in policy_ns_capable()
|
/linux-6.1.9/net/sunrpc/auth_gss/ |
D | auth_gss.c | 392 struct user_namespace *userns = cred->user_ns; in gss_encode_v0_msg() local 394 uid_t uid = from_kuid_munged(userns, gss_msg->uid); in gss_encode_v0_msg() 419 struct user_namespace *userns = cred->user_ns; in gss_encode_v1_msg() local 426 from_kuid_munged(userns, gss_msg->uid)); in gss_encode_v1_msg()
|
/linux-6.1.9/Documentation/filesystems/ |
D | fuse.rst | 303 reason 'allow_other' restricts access to users in the same userns
|
/linux-6.1.9/Documentation/admin-guide/ |
D | cgroup-v2.rst | 2641 namespace's userns
|