Home
last modified time | relevance | path

Searched refs:ns_root_gid (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/ipc/
Dmq_sysctl.c86 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in mq_set_ownership() local
89 *gid = gid_valid(ns_root_gid) ? ns_root_gid : GLOBAL_ROOT_GID; in mq_set_ownership()
96 kgid_t ns_root_gid; in mq_permissions() local
98 mq_set_ownership(head, &ns_root_uid, &ns_root_gid); in mq_permissions()
103 else if (in_egroup_p(ns_root_gid)) in mq_permissions()
Dipc_sysctl.c200 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in ipc_set_ownership() local
203 *gid = gid_valid(ns_root_gid) ? ns_root_gid : GLOBAL_ROOT_GID; in ipc_set_ownership()
223 kgid_t ns_root_gid; in ipc_permissions() local
225 ipc_set_ownership(head, &ns_root_uid, &ns_root_gid); in ipc_permissions()
230 else if (in_egroup_p(ns_root_gid)) in ipc_permissions()
/linux-6.12.1/net/
Dsysctl_net.c61 kgid_t ns_root_gid; in net_ctl_set_ownership() local
67 ns_root_gid = make_kgid(net->user_ns, 0); in net_ctl_set_ownership()
68 if (gid_valid(ns_root_gid)) in net_ctl_set_ownership()
69 *gid = ns_root_gid; in net_ctl_set_ownership()
/linux-6.12.1/net/core/
Dnet_namespace.c525 kgid_t ns_root_gid = make_kgid(net->user_ns, 0); in net_ns_get_ownership() local
530 if (gid_valid(ns_root_gid)) in net_ns_get_ownership()
531 *gid = ns_root_gid; in net_ns_get_ownership()