ptracer_exception_found(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 β€” the task_struct of the process attempting ptrace
  • tracee β€” the task_struct of 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:


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