test_kuid_r...init_ns_uid0(9)
β¨ NAME β¨
test_kuid_root_in_ns_init_ns_uid0 β bestie, this is the one that tests kuid_root_in_ns against the init namespace with UID 0 π (it's a Kernel API Manual page, section 9, iykyk)
πΈ SYNOPSIS πΈ
void test_kuid_root_in_ns_init_ns_uid0 (struct kunit *test );
π ARGUMENTS π
testβ the KUnit test context, aka the little β¨vibe containerβ¨ the test framework hands you so the test can do its thing π«Ά
π¦ DESCRIPTION π¦
Okay so picture this: this test literally verifies that kuid_root_in_ns correctly identifies UID 0 in the init namespace. That's it, that's the whole flex π
It's testing the core namespace traversal logic β the main character energy of the whole thing, no cap. And here's the tea β: in the init namespace, UID 0 maps to itself, so it should own the namespace. 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_nonzero(9)create_test_user_ns_with_mapping(9)test_kuid_root_in_ns_with_mapping(9)test_kuid_root_in_ns_with_different_mappings(9)
And that's the whole page, bestie, you ate that π
β¨ This lil icon drops from ./security in October 2026 β go forth and test those namespaces π§π
π¦ 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