__end_curren...crit_section(9)
π __end_current_label_crit_section β Kernel API Manual π
okay bestie so this is one of those AppArmor kernel pages, and honestly? it's a whole vibe. it's the little cleanup function that closes out a crit section you opened with __begin_..., and the way that it pairs with its sibling function is literally giving matching bestie bracelets π
β¨ NAME β¨
__end_current_label_crit_section β closes out (ends) the crit section that you started with __begin_... π«Ά
πΈ SYNOPSIS πΈ
void __end_current_label_crit_section (struct aa_label *label , bool needput );
π¦ ARGUMENTS π¦
labelβ the label you got from__begin_current_label_crit_section. yep, the exact same one, don't be out here swapping it for a different one πneedputβ output: aboolthat gets set by__begin_current_label_crit_section. so it's not you choosing this value, bestie, it's coming back atcha π
π DESCRIPTION π
so basically this is a wrapper around __end_cred_crit_section, and the whole point of it is to pair so nicely with __begin_current_label_crit_section β like, they're designed to hold hands, you open with one and you close with the other, periodt β¨
β SEE ALSO β
- Kernel file
./security/apparmor/include/cred.h aa_get_newest_cred_label(9)aa_current_raw_label(9)aa_get_current_label(9)__end_cred_crit_section(9)__begin_cred_crit_section(9)end_current_label_crit_section(9)__begin_current_label_crit_section(9)begin_current_label_crit_section(9)
π friendly reminder that this is kernel-space AppArmor stuff, so like, read your cred.h fr fr β no cap, that's where the magic lives π§
alright babe, that's the whole page β courtesy of ./security/apparmor/include, dated October 2026, mwah πππ
π¦ 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