__aa_transition_rlimits(9)
β¨ __aa_transition_rlimits(9) β¨
okay so bestie, welcome to the Kernel API Manual β this one's a little function from the kernel side of AppArmor, __aa_transition_rlimits, and honestly it's giving glow-up era π¦ because what it does is literally apply new profile rlimits. That's the whole vibe. You're switching a task over to a new label and dragging its resource limits along with it. Slay π
π NAME π
__aa_transition_rlimits β apply new profile rlimits β¨
like, the name is the plot bestie, no cap π«Ά
πΈ SYNOPSIS πΈ
void __aa_transition_rlimits (struct aa_label *old_l , struct aa_label
*new_l );
yes the spacing is iconic and slightly chaotic, we love her for that π (and don't touch it, that's literally how it's written π)
π ARGUMENTS π
old_lβ the old label on the task, and it is (NOT NULL) π¨ like fr fr, don't come in here with a null, that's not the movenew_lβ the new label with the rlimits to apply, also (NOT NULL) π two non-null labels or the whole thing is a no from me
lowkey important: both of these say NOT NULL in the original and I'm putting it in bold because I want you to feel it π
π¦ SEE ALSO π¦
the kernel file is ./security/apparmor/resource.c β that's home base bestie π and it hangs with these icons:
go read them, iykyk πβ¨
and that's the page!! October 2026 energy, straight out of ./security/apparmor π mwah, ily, go set some rlimits responsibly ππ
π¦ 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