__labelset_update(9)
π¦ __labelset_update(9) π¦
okay bestie, welcome to the Kernel API Manual π this page is literally all about __labelset_update, and itβs giving βsmall function, very serious lock rulesβ energy. no cap. π
β¨ NAME β¨
__labelset_update β update labels in @ns π
πΈ SYNOPSIS πΈ
void __labelset_update (struct aa_ns *ns );
π ARGUMENTS π
nsβ namespace to update labels in (NOT NULL) π«Ά
π₯ DESCRIPTION π₯
β οΈ Requires: ns lock be held. like, actually held. this is not a drill, bestie. π
It walks the labelset and makes sure all labels are up to date and valid. Any label that has a stale component gets marked stale and replaced by an updated version. β¨
If failures happen because of memory pressures, then the stale labels will be left in place until the next pass. π«Ά thatβs the documented behavior β they wait for the next pass. π
π SEE ALSO π
Kernel file ./security/apparmor/label.c β and the whole squad is: 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), __label_update(9), __aa_labelset_update_subtree(9) π
mwah π this cutie came from the source/version spot ./security/apparmor, dated October 2026, and itβs the __labelset_update(9) page. bye bestie β go hold that ns lock fr fr π«Άπ
π¦ 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