aa_ns_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a bool, 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:


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