ptracer_capable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ptracer_capable(9) β€” Kernel API Manual, bestie edition πŸ’…

okay so welcome to the ptracer_capable(9) page in the Kernel API Manual, and it's literally here to do one extremely specific permission vibe check. 🫢

✨ NAME ✨

ptracer_capable β€” determine if the ptracer holds CAP_SYS_PTRACE in the namespace. πŸ‘‘

🌸 SYNOPSIS 🌸

bool ptracer_capable (struct task_struct *tsk , struct user_namespace *ns );

πŸŽ€ ARGUMENTS πŸŽ€

  • tsk β€” the task that may be ptraced. πŸ‘€
  • ns β€” the user namespace to search for CAP_SYS_PTRACE in. πŸ”

πŸ¦‹ DESCRIPTION πŸ¦‹

Return true if the task that is ptracing the current task had CAP_SYS_PTRACE in the specified user namespace. That's the whole plot, no cap. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./kernel/capability.c plus these iconic neighbors:


mwah πŸ’‹ β€” sourced from ./kernel, dated October 2026, and this ptracer_capable(9) page is officially out. πŸŽ€πŸ’–

πŸ“¦ where this page comes from