aa_get_profile(9)
π aa_get_profile π
okay bestie, welcome to the aa_get_profile(9) page from the kernel API manual. It's short, it's sweet, and it's giving βtiny function, serious refcount business.β β¨
πΈ NAME πΈ
aa_get_profile β increment refcount on profile @p π
β¨ SYNOPSIS β¨
struct aa_profile * aa_get_profile (struct aa_profile *p );
π ARGUMENTS π
pβ profile (MAYBE NULL) π
π RETURN π
pointer to p. If p is NULL, this will return NULL. π«Ά
Requires: p must be held with valid refcount when called. No cap, that's a real requirement β make sure it's got a valid refcount before you call, fr fr. π
π¦ SEE ALSO π¦
Kernel file ./security/apparmor/include/policy.h plus these iconic little references:
aa_get_pdb(9)aa_put_pdb(9)aa_get_newest_profile(9)aa_get_profile_not0(9)aa_get_profile_rcu(9)aa_put_profile(9)
mwah π this page comes from ./security/apparmor/include, dated October 2026, and it's aa_get_profile(9) all the way down. byeee π«Άπ
π¦ 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