Searched refs:ns_root_gid (Results 1 – 4 of 4) sorted by relevance
87 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in mq_set_ownership() local90 *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() local99 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()
201 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in ipc_set_ownership() local204 *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() local226 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()
61 kgid_t ns_root_gid; in net_ctl_set_ownership() local67 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()
525 kgid_t ns_root_gid = make_kgid(net->user_ns, 0); in net_ns_get_ownership() local530 if (gid_valid(ns_root_gid)) in net_ns_get_ownership()531 *gid = ns_root_gid; in net_ns_get_ownership()