aa_get_profi...oaddata_not0(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual β the header is doing its truncated little thing with aa_get_profi...oaddata_not0(9), and the function herself is aa_get_profile_loaddata_not0. her whole vibe? get a profile reference count if not zero. periodt. π
β¨ SYNOPSIS β¨
struct aa_loaddata * aa_get_profile_loaddata_not0 (struct aa_loaddata
*data );
π«Ά ARGUMENTS π«Ά
dataβ reference to get a count on. that's the thing you're asking about, bestie. π«Ά
π DESCRIPTION π
so it's like aa_get_profile_loaddata, but the safe-to-call version for an entry that may be on a list (e.g. ns->rawdata_list) where the last pcount has already dropped and the deferred cleanup has not yet run. no cap, that's the whole careful vibe: the count already hit zero, cleanup is still pending, and this one is safe to call anyway. πβ¨
π₯ RETURN π₯
pointer to reference, or NULL if data is NULL or its profile refcount has already reached zero. so yeah, NULL is literally in the mix β that's the return tea. π₯
π¦ SEE ALSO π¦
- Kernel file
./security/apparmor/include/policy_unpack.hβ go peek at the header, iykyk. π aa_get_i_loaddata(9),aa_get_profile_loaddata(9)β the little AppArmor friend group in the SEE ALSO section. π«Ά
that's the page, bestie π source/version: ./security/apparmor/include β¨ date: October 2026 β¨ footer title vibe: aa_get_profi...oaddata_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