aa_find_child(9)
πΈ NAME πΈ
okay bestie, welcome to aa_find_child(9) from the Kernel API Manual. the NAME tea is literally: aa_find_child β find a profile by @name in @parent. slay. π
β¨ SYNOPSIS β¨
here's the signature, preserved exactly because we do not play about code:
struct aa_profile * aa_find_child (struct aa_profile *parent , const
char *name );
π ARGUMENTS π
two arguments, both highkey mandatory β NOT NULL energy, no exceptions:
parentβ profile to search (NOT NULL)nameβ profile name to search for (NOT NULL)
π¦ RETURN π¦
you get a refcounted profile, or NULL if it's not found. simple, iconic, no cap. β¨
π SEE ALSO π
Kernel file: ./security/apparmor/policy.c β and here's the whole squad, every single ref invited:
aa_pdb_free_kref(9)__add_profile(9)__list_remove_profile(9)__remove_profile(9)__aa_profile_list_release(9)aa_free_data(9)aa_free_profile(9)aa_alloc_profile(9)__strn_find_child(9)__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)
kisses π this page comes from source ./security/apparmor and is dated October 2026. periodt. π«Ά
π¦ 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