aa_get_profile(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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