aa_get_profile_not0(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

aa_get_profile_not0 β€” increment refcount on profile @p found via lookup πŸ’…

Okay so this is the aa_get_profile_not0(9) page from the Kernel API Manual, and we are gonna read it together like the iconic little kernel besties we are 🫢✨

🌸 SYNOPSIS 🌸

struct aa_profile * aa_get_profile_not0 (struct aa_profile *p );

πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” profile (MAYBE NULL) 🫢

πŸ’… RETURN πŸ’…

Returns a pointer to p; if p is NULL, it will return NULL 😭

Requires: p must be held with a valid refcount when called. No cap, that part matters πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./security/apparmor/include/policy.h β€” plus these absolute icons:


Cute little sign-off: source path ./security/apparmor/include, dated October 2026, for aa_get_profile_not0(9) πŸ’–βœ¨

πŸ“¦ where this page comes from