__label_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 __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