yama_ptrace_traceme(9)
β¨ NAME β¨
okay bestie, welcome to the Kernel API Manual page for yama_ptrace_traceme β its whole job is to validate PTRACE_TRACEME calls π
β¨
πΈ SYNOPSIS πΈ
the signature is giving main character energy:
int yama_ptrace_traceme (struct task_struct *parent );
π ARGUMENTS π
parentβ the task that will become the ptracer of the current task π«Ά
π DESCRIPTION π
okay so the return value is the whole moment here: it returns 0 if following the ptrace is allowed, and -ve on error. thatβs literally it, no cap ππ
π¦ SEE ALSO π¦
first up, the Kernel file: ./security/yama/yama_lsm.c πβ¨
then the whole squad:
yama_relation_cleanup(9)π§Ήyama_ptracer_add(9)βyama_ptracer_del(9)βyama_task_free(9)ποΈyama_task_prctl(9)ποΈtask_is_descendant(9)π³ptracer_exception_found(9)πyama_ptrace_access_check(9)β
mwah π source/version: ./security/yama Β· date: October 2026 Β· page: yama_ptrace_traceme(9) π
π¦ 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