aa_ns_name(9)
β¨ aa_ns_name(9) β¨
okay so bestie, welcome to the aa_ns_name page from the Kernel API Manual β yes that's aa_ns_name with a manual section of 9, we love a kernel-internals moment π
π NAME π
aa_ns_name β literally just: find the ns name to display for @view from @curr π¦
πΈ SYNOPSIS πΈ
const char * aa_ns_name (struct aa_ns *curr , struct aa_ns *view , bool
subns );
no cap, that's the whole signature, character for character π
π ARGUMENTS π
currβ the current namespace. it's marked NOT NULL, so likeβ¦ do not come in here with a NULL, that's not the vibe πviewβ the namespace that's attempting to view. also NOT NULL, same energy, please respect it π«Άsubnsβ are subns visible. yes that's abool, yes it's literally asking whether subns are visible π
β RETURN β
the name of view visible from curr β that's it, that's the whole gift π
π₯ SEE ALSO π₯
kernel file ./security/apparmor/policy_ns.c and its whole friend group, fr fr:
aa_ns_visible(9)alloc_ns(9)aa_free_ns(9)__aa_lookupn_ns(9)aa_lookupn_ns(9)__aa_find_or_create_ns(9)aa_prepare_ns(9)destroy_ns(9)__aa_remove_ns(9)__ns_list_release(9)aa_alloc_root_ns(9)
and that's the page, bestie!! this iconic little entry lives in ./security/apparmor, hails from the Kernel API Manual, and was dated October 2026 β go off, kernel docs, you ate πβ¨π
π¦ 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