yama_task_prctl(9)
π yama_task_prctl(9) β like, the Kernel API Manual edition β¨
okay so bestie, welcome to yama_task_prctl π this is one of those little functions living in the Kernel API Manual and she's here to do exactly one job: check for Yama-specific prctl operations. no cap, that's the whole vibe. π¦
β¨ NAME β¨
yama_task_prctl β check for Yama-specific prctl operations π
πΈ SYNOPSIS πΈ
int yama_task_prctl (int option , unsigned long arg2 , unsigned long
arg3 , unsigned long arg4 , unsigned long arg5 );
π«Ά ARGUMENTS π«Ά
- option β the operation, i.e. which thing we're being asked about π«
- arg2 β argument π
- arg3 β argument π
- arg4 β argument π
- arg5 β argument π
(yeah, arg2 through arg5 are literally just "argument" in the original and we are not out here inventing lore, bestie π)
π DESCRIPTION π
So here's the tea β β this one returns 0 on success, and -ve on error. that's it, that's the contract. π
And the icon -ENOSYS shows up when Yama doesn't handle the given option β like, not her department, not her problem, moving on. π
slay.
π₯ SEE ALSO π₯
- Kernel file
./security/yama/yama_lsm.cπ yama_relation_cleanup(9)yama_ptracer_add(9)yama_ptracer_del(9)yama_task_free(9)task_is_descendant(9)ptracer_exception_found(9)yama_ptrace_access_check(9)yama_ptrace_traceme(9)
go read those too, iykyk πβ¨
okay that's the whole page, mwah π β brought to you by ./security/yama, dated October 2026 ποΈπ bestie this manpage was literally fresh out the oven, 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