ptracer_exception_found(9)
hiii bestie π welcome to the ptracer_exception_found(9) page from the Kernel API Manual β yes, we're doing kernel internals today, and honestly? iconic.
πΈ NAME πΈ
ptracer_exception_found β tracer registered as exception for this tracee
β¨ SYNOPSIS β¨
int ptracer_exception_found (struct task_struct *tracer , struct
task_struct *tracee );
π ARGUMENTS π
tracerβ thetask_structof the process attempting ptracetraceeβ thetask_structof the process to be ptraced
π DESCRIPTION π
okay so here's the tea: this function returns 1 if tracer has a ptracer exception ancestor for tracee. That's it, that's the whole plot. no extra lore, no side quests π
π¦ SEE ALSO π¦
peep the kernel file ./security/yama/yama_lsm.c, plus these related pages:
yama_relation_cleanup(9)yama_ptracer_add(9)yama_ptracer_del(9)yama_task_free(9)yama_task_prctl(9)task_is_descendant(9)yama_ptrace_access_check(9)yama_ptrace_traceme(9)
okay bye bestie π«Ά source/version: ./security/yama, date: October 2026, from the Kernel API Manual, page ptracer_exception_found(9). mwah πβ¨
π¦ 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