aa_free_data(9)
π aa_free_data β free a data blob π
okay so bestie, welcome to aa_free_data(9) from the Kernel API Manual β yes we're in kernel land today, and yes you're gonna slay it π«Ά
β¨ NAME β¨
aa_free_data β frees a data blob. that's it. that's the whole job. lowkey iconic for how simple it is π
πΈ SYNOPSIS πΈ
void aa_free_data (void *ptr , void *arg );
literally just hand it a pointer and it handles the rest, no cap β¨
π ARGUMENTS π
ptrβ the data to free. this is the main character of the whole function, give it a little kiss goodbye before it goes πargβ unused. not me showing up to the function and contributing nothing π it's giving "invited to the group project but did zero slides" energy. it's there, it's ignored, we respect it anyway π¦
π¦ SEE ALSO π¦
so there's a whole friend group here, all hanging out in the kernel file ./security/apparmor/policy.c β go say hi to all of them, fr fr:
aa_pdb_free_kref(9)__add_profile(9)__list_remove_profile(9)__remove_profile(9)__aa_profile_list_release(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)
that's the whole page bestie, short and sweet, just like we like it π
mwah π β this lil page lives in ./security/apparmor and is dated October 2026. go forth and free those blobs, you absolute kernel queen π
π¦ 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