__aa_transition_rlimits(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __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 move
  • new_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