Home
last modified time | relevance | path

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

/openbmc/linux/ipc/
H A Dmq_sysctl.c87 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in mq_set_ownership() local
90 *gid = gid_valid(ns_root_gid) ? ns_root_gid : GLOBAL_ROOT_GID; in mq_set_ownership()
97 kgid_t ns_root_gid; in mq_permissions() local
99 mq_set_ownership(head, &ns_root_uid, &ns_root_gid); in mq_permissions()
104 else if (in_egroup_p(ns_root_gid)) in mq_permissions()
H A Dipc_sysctl.c201 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in ipc_set_ownership() local
204 *gid = gid_valid(ns_root_gid) ? ns_root_gid : GLOBAL_ROOT_GID; in ipc_set_ownership()
224 kgid_t ns_root_gid; in ipc_permissions() local
226 ipc_set_ownership(head, &ns_root_uid, &ns_root_gid); in ipc_permissions()
231 else if (in_egroup_p(ns_root_gid)) in ipc_permissions()
/openbmc/linux/net/
H A 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()
/openbmc/linux/net/core/
H A 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()