net_ns_get_ownership(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 be NULL). πŸ¦‹
  • 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 πŸ¦‹


Signing off from ./net/core in October 2026 β€” this was the net_ns_get_ownership(9) page, mwah πŸ’…πŸŽ€

πŸ“¦ where this page comes from