aa_set_current_onexec(9)
okay bestie, welcome to aa_set_current_onexec(9) from the Kernel API Manual β no cap, itβs lowkey a tiny kernel helper, and itβs giving main character energy πβ¨
πΈ NAME πΈ
aa_set_current_onexec β set the tasks change_profile to happen onexec π
Thatβs the assignment, periodt. π
β¨ SYNOPSIS β¨
void aa_set_current_onexec (struct aa_label *label , bool stack );
π¦ ARGUMENTS π¦
labelβ system label to set at exec π«Ά (MAYBE NULL to clear value)stackβ whether stacking should be done π
π SEE ALSO π
- Kernel file
./security/apparmor/task.c:aa_get_task_label(9)π₯ aa_replace_current_label(9)πaa_set_current_hat(9)β¨aa_restore_previous_label(9)πaudit_ptrace_mask(9)βaa_may_ptrace(9)π
xoxo, your kernel bestie π«Ά β signing off with source/version ./security/apparmor and date October 2026 π
π
π¦ 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