aa_get_ns(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… aa_get_ns(9) β€” Kernel API Manual era πŸ’…

okay so bestie, welcome to the aa_get_ns(9) page from the Kernel API Manual. It's short, it's iconic, and it's literally all about bumping a reference count. Let's get into it. ✨

🌸 NAME 🌸

aa_get_ns β€” increment references count on @ns

✨ SYNOPSIS ✨

struct aa_ns * aa_get_ns (struct aa_ns *ns );

πŸŽ€ ARGUMENTS πŸŽ€

  • ns β€” namespace to increment reference count of (MAYBE NULL). yep, it can be NULL, no cap 🫢

πŸ¦‹ RETURN πŸ¦‹

Pointer to ns. If ns is NULL, returns NULL.

Requires: ns must be held with valid refcount when called. like, actually valid β€” do not skip the vibe check on that refcount, okay? 😭

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ β€” source/version: ./security/apparmor/include, date: October 2026, and the page is still aa_get_ns(9). 🫢

πŸ“¦ where this page comes from