__aa_profile_list_release(9)
π __aa_profile_list_release(9) β a Kernel API Manual moment
okay so bestie, welcome to the <pink>__aa_profile_list_release</pink> page from the Kernel API Manual, and honestly? it's a short one but it ate. let's get into it π«Ά
β¨ NAME β¨
__aa_profile_list_release β remove all profiles on the list and put refs
like, every profile on that list? gone. refs? put. periodt. π
πΈ SYNOPSIS πΈ
void __aa_profile_list_release (struct list_head *head );
that's it. that's the whole signature. no cap. β¨
π ARGUMENTS π
headβ list of profiles. and listen, it is NOT NULL. do not come in here with a NULL, bestie, i'm begging π
π¦ DESCRIPTION π¦
okay so the vibe here is: this thing removes all the profiles on the list and puts their refs. all of them. the whole list. iconic behavior honestly π
Requires: the namespace lock be held.
β οΈ like, genuinely β hold that namespace lock. this is a requirement, not a suggestion, and i will be checking. π₯
β SEE ALSO β
Kernel file ./security/apparmor/policy.c, plus the whole friend group right here β they're all linked and they all matter, so here's every single one, no skips, no cuts, fr fr:
aa_pdb_free_kref(9)__add_profile(9)__list_remove_profile(9)__remove_profile(9)aa_free_data(9)aa_free_profile(9)aa_alloc_profile(9)__strn_find_child(9)__find_child(9)aa_find_child(9)__lookup_parent(9)__create_missing_ancestors(9)__lookupn_profile(9)aa_lookupn_profile(9)__aa_new_learning_profile(9)replacement_allowed(9)audit_policy(9)aa_policy_view_capable(9)aa_may_manage_policy(9)__replace_profile(9)__lookup_replace(9)aa_replace_profiles(9)aa_remove_profiles(9)
and that's the page!! π§ mwah π
this little masterpiece lives in ./security/apparmor, dated October 2026, in the Kernel API Manual β __aa_profile_list_release(9), slay, bye ππ
π¦ 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