aa_get_profile_not0(9)
β¨ 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:
aa_get_pdb(9)aa_put_pdb(9)aa_get_newest_profile(9)aa_get_profile(9)aa_get_profile_rcu(9)aa_put_profile(9)
Cute little sign-off: source path ./security/apparmor/include, dated October 2026, for aa_get_profile_not0(9) πβ¨
π¦ 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