__label_update(9)
π __label_update π
Kernel API Manual bestie! This is the page for __label_update, and we're keeping every technical detail intact while making it make sense. π«Ά
π NAME π
__label_update β insert updated version of @label into labelset. Slay. β¨
π¦ SYNOPSIS π¦
struct aa_label * __label_update (struct aa_label *label );
Yes bestie, that's the whole signature. π
β¨ ARGUMENTS β¨
labelβ the label to update/replace. That's the one and only argument, bestie. π―
π RETURN π
New label that is up to date, else NULL on failure. So if it eats, you get the fresh label; if it flops, you get NULL. π
πΈ DESCRIPTION πΈ
Requires: ns lock be held β that's not a vibe suggestion, it's the requirement. π
β οΈ NOTE β οΈ
worst case is the stale label does not get updated and has to be updated at a later time. Literally the stale-label worst case, and it's giving "we'll circle back" energy. π
π SEE ALSO π
Kernel file: ./security/apparmor/label.c. Also see: ns_cmp(9), profile_cmp(9), vec_cmp(9), aa_vec_unique(9), aa_label_alloc(9), label_cmp(9), __aa_label_next_not_in_set(9), aa_label_is_subset(9), aa_label_is_unconfined_subset(9), __label_remove(9), __label_replace(9), __label_insert(9), __vec_find(9), __label_find(9), aa_label_remove(9), aa_label_replace(9), vec_find(9), aa_label_insert(9), aa_label_next_in_merge(9), label_merge_cmp(9), label_merge_insert(9), labelset_of_merge(9), __label_find_merge(9), aa_label_find_merge(9), aa_label_merge(9), label_compound_match(9), label_components_match(9), aa_label_match(9), aa_update_label_name(9), aa_profile_snxprint(9), aa_label_snxprint(9), aa_label_asxprint(9), aa_label_acntsxprint(9), aa_label_strn_parse(9), aa_labelset_destroy(9), __labelset_update(9), __aa_labelset_update_subtree(9).
Okay bestie, that's the page! π«Άπ Source/version: ./security/apparmor Β· date: October 2026.
π¦ 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