test_kuid_ro...ent_mappings(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, you’re looking at the Kernel API Manual page for test_kuid_ro...ent_mappings(9) β€” yes, that title is literally truncated like that, we’re keeping it πŸ’…

✨ NAME ✨

test_kuid_root_in_ns_with_different_mappings β€” Test with multiple namespaces


πŸ¦‹ SYNOPSIS πŸ¦‹

void test_kuid_root_in_ns_with_different_mappings (struct kunit *test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” KUnit test context

πŸ’– DESCRIPTION πŸ’–

This one creates multiple user namespaces with different UID mappings, and the whole point is to verify that kuid_root_in_ns correctly distinguishes between namespaces. no cap, that’s the vibe check πŸ”₯

Each namespace maps uid 0 to a different kuid, and we verify that each kuid only owns its corresponding namespace β€” plus kuid 0 owns all via the init_user_ns parent. periodt πŸ’…


🌈 SEE ALSO 🌈


made with πŸ’œ from ./security, stamped October 2026, page test_kuid_ro...ent_mappings(9) β€” k bye bestie 🫢✨

πŸ“¦ where this page comes from