aa_get_profi...oaddata_not0(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 πŸ¦‹


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