test_kuid_ro...ent_mappings(9)
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 π
- Kernel file:
./security/commoncap_test.c test_vfsuid_root_in_currentns_init_ns(9)test_vfsuid_root_in_currentns_invalid(9)test_vfsuid_root_in_currentns_nonzero(9)test_kuid_root_in_ns_init_ns_uid0(9)test_kuid_root_in_ns_init_ns_nonzero(9)create_test_user_ns_with_mapping(9)test_kuid_root_in_ns_with_mapping(9)
made with π from ./security, stamped October 2026, page test_kuid_ro...ent_mappings(9) β k bye bestie π«Άβ¨
π¦ 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