end_current_...crit_section(9)
okay bestie, welcome to the Kernel API Manual, section 9! This page is literally called end_current_...crit_section(9), and itβs the whole glow-up guide for end_current_label_crit_section. Letβs get into it, no cap. π
β¨
π NAME π
end_current_label_crit_section β put a reference found with begin_current_label.. π«Ά
β¨ SYNOPSIS β¨
void end_current_label_crit_section (struct aa_label *label , bool
needput );
π¦ ARGUMENTS π¦
labelβ the label reference to put. Bye-bye, ref! πneedputβ output:boolset by__begin_current_label_crit_section. Literally the output bool from that function. π
π DESCRIPTION π
Bestie, listen: this should only be used with a reference obtained with begin_current_label_crit_section. And it is never used in situations where the task cred may be updated. Like, ever. π
Thatβs the whole vibe check. Right reference, right situation β no task-cred-update chaos. π₯
π 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)
Go read the whole friend group, iykyk. ππ
sign-off bestie: source/version vibe is ./security/apparmor/include Β· October 2026 Β· page end_current_...crit_section(9). Thatβs the tea, 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