Home
last modified time | relevance | path

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

/linux-6.12.1/ipc/
Dmq_sysctl.c85 kuid_t ns_root_uid = make_kuid(ns->user_ns, 0); in mq_set_ownership() local
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() local
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()
Dipc_sysctl.c199 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-6.12.1/net/
Dsysctl_net.c60 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-6.12.1/net/core/
Dnet_namespace.c524 kuid_t ns_root_uid = make_kuid(net->user_ns, 0); in net_ns_get_ownership() local
527 if (uid_valid(ns_root_uid)) in net_ns_get_ownership()
528 *uid = ns_root_uid; in net_ns_get_ownership()