aa_ns_visible(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ aa_ns_visible ✨

okay so bestie, welcome to aa_ns_visible πŸŽ€ β€” straight out of the Kernel API Manual, and honestly? she's a little icon. the whole gig is <cyan>aa_ns_visible</cyan> β€” as in, test if @view is visible from @curr πŸ‘€πŸ’…


🌸 SYNOPSIS 🌸

like, here's the whole signature, no cap:

bool aa_ns_visible (struct aa_ns *curr , struct aa_ns *view , bool subns
);

she returns a bool, she takes three args, she's lowkey doing the most for namespace visibility checks. periodt πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

  • curr β€” the namespace you're treating as the parent. and babes, she is NOT NULL β€” like, do not even try it πŸ™ˆ
  • view β€” the namespace you're testing to see if it's visible from curr. also NOT NULL, same energy, no exceptions ✨
  • subns β€” a bool that says whether view of a subns is allowed. yes ma'am, that's the whole vibe check 🫢

πŸ’– RETURN πŸ’–

  • true if view is visible from curr β€” slay! πŸ‘‘
  • otherwise false β€” she said nope πŸ’€

fr fr, that's the entire return situation. no hidden lore.


🌈 SEE ALSO 🌈

the Kernel file ./security/apparmor/policy_ns.c is the main character here, and she brought her whole friend group πŸ’…:


ngl bestie, all three pointers being NOT NULL is not a suggestion, it's a lifestyle. respect the contract or catch these crashes 😭πŸ”₯

and that's the whole page, mwah πŸ’‹ big sign-off energy: brought to you by ./security/apparmor, stamped October 2026, and yes she ate πŸŒŸπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from