Searched refs:ns_root_uid (Results 1 – 4 of 4) sorted by relevance
/linux/ipc/ |
H A D | mq_sysctl.c | 85 kuid_t ns_root_uid = make_kuid(ns->user_ns, 0); in mq_set_ownership() 88 *uid = uid_valid(ns_root_uid) ? ns_root_uid : GLOBAL_ROOT_UID; in mq_set_ownership() 95 kuid_t ns_root_uid; in mq_permissions() 98 mq_set_ownership(head, &ns_root_uid, &ns_root_gid); in mq_permissions() 100 if (uid_eq(current_euid(), ns_root_uid)) in mq_permissions() 86 kuid_t ns_root_uid = make_kuid(ns->user_ns, 0); mq_set_ownership() local 96 kuid_t ns_root_uid; mq_permissions() local
|
H A D | ipc_sysctl.c | 199 kuid_t ns_root_uid = make_kuid(ns->user_ns, 0); in ipc_set_ownership() local 202 *uid = uid_valid(ns_root_uid) ? ns_root_uid : GLOBAL_ROOT_UID; in ipc_set_ownership() 222 kuid_t ns_root_uid; in ipc_permissions() local 225 ipc_set_ownership(head, &ns_root_uid, &ns_root_gid); in ipc_permissions() 227 if (uid_eq(current_euid(), ns_root_uid)) in ipc_permissions()
|
/linux/net/ |
H A D | sysctl_net.c | 60 kuid_t ns_root_uid; in net_ctl_set_ownership() local 63 ns_root_uid = make_kuid(net->user_ns, 0); in net_ctl_set_ownership() 64 if (uid_valid(ns_root_uid)) in net_ctl_set_ownership() 65 *uid = ns_root_uid; in net_ctl_set_ownership()
|
/linux/net/core/ |
H A D | net_namespace.c | 546 kuid_t ns_root_uid = make_kuid(net->user_ns, 0); in net_ns_get_ownership() local 549 if (uid_valid(ns_root_uid)) in net_ns_get_ownership() 550 *uid = ns_root_uid; in net_ns_get_ownership()
|