test_kuid_ro...t_ns_nonzero(9)
π test_kuid_ro...t_ns_nonzero(9) π
okay bestie, this is the Kernel API Manual entry for the KUnit test called test_kuid_root_in_ns_init_ns_nonzero, and it's literally here to check one very specific thing. no cap. π
β¨ NAME β¨
test_kuid_root_in_ns_init_ns_nonzero β Test kuid_root_in_ns with init namespace and non-zero UID. iconic behavior check π
π¦ SYNOPSIS π¦
void test_kuid_root_in_ns_init_ns_nonzero (struct kunit *test );
πΈ ARGUMENTS πΈ
testβ the KUnit test context, aka the little setup bag the test needs π«Ά
π DESCRIPTION π
This test verifies that kuid_root_in_ns correctly rejects non-zero UIDs in the init namespace. The vibe check is simple, bestie: only UID 0 should own a 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_uid0(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)π§
bestie, that's the whole page β every reference is there, no crumbs left behind π
signing off from ./security π dated October 2026 πβ¨
π¦ 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