net_ns_get_ownership(9)
πΈ NAME πΈ
okay so this is the net_ns_get_ownership(9) page from the Kernel API Manual, bestie β and it's giving βtiny helper, very specific jobβ energy. net_ns_get_ownership β get sysfs ownership data for @net. π
β¨ SYNOPSIS β¨
void net_ns_get_ownership (const struct net *net , kuid_t *uid , kgid_t
*gid );
π ARGUMENTS π
netβ the network namespace in question (can beNULL). π¦uidβ the kernel user ID for sysfs objects. πgidβ the kernel group ID for sysfs objects. π
π DESCRIPTION π
So like, this function returns the uid/gid pair of root in the user namespace associated with the given network namespace. That's the whole vibe β ownership data, served fresh, no cap. β¨
π¦ SEE ALSO π¦
- Kernel file:
./net/core/net_namespace.cπ net_ns_barrier(9),get_net_ns(9),register_pernet_subsys(9),unregister_pernet_subsys(9),register_pernet_device(9),unregister_pernet_device(9)β the whole friend group, fr fr. π
Signing off from ./net/core in October 2026 β this was the net_ns_get_ownership(9) page, mwah π
π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms