Searched refs:ns_root_gid (Results 1 – 4 of 4) sorted by relevance
86 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in mq_set_ownership() local89 *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() local98 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()
200 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in ipc_set_ownership() local203 *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() local225 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()
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()