yama_ptracer_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

yama_ptracer_add(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” manual name folded in right here, and today's main character is yama_ptracer_add(9). It's giving kernel-function energy, and we're obsessed. ✨


✨ NAME ✨

yama_ptracer_add β€” add/replace an exception for this tracer/tracee pair 🫢

🌸 SYNOPSIS 🌸

int yama_ptracer_add (struct task_struct *tracer , struct task_struct *tracee );

πŸŽ€ ARGUMENTS πŸŽ€

  • tracer β€” the task_struct of the process doing the ptrace πŸ‘‘
  • tracee β€” the task_struct of the process to be ptraced πŸ¦‹

πŸ’… DESCRIPTION πŸ’…

Each tracee can have, at most, one tracer registered. no cap. Each time this is called, the prior registered tracer will be replaced for the tracee.

Returns 0 if relationship was added, -ve on error. That's the whole vibe check, bestie. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

go read these too, fr fr:


okay that's the whole page, bestie β€” brought to you by ./security/yama, dated October 2026, and it's literally the yama_ptracer_add(9) manual, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from