Man Page: ptrace_trap_notify
Operating Environment: centos
Section: 9
PTRACE_TRAP_NOTIFY(9) Driver Basics PTRACE_TRAP_NOTIFY(9)NAMEptrace_trap_notify - schedule trap to notify ptracerSYNOPSISvoid ptrace_trap_notify(struct task_struct * t);ARGUMENTSt tracee wanting to notify tracerDESCRIPTIONThis function schedules sticky ptrace trap which is cleared on the next TRAP_STOP to notify ptracer of an event. t must have been seized by ptracer. If t is running, STOP trap will be taken. If trapped for STOP and ptracer is listening for events, tracee is woken up so that it can re-trap for the new event. If trapped otherwise, STOP trap will be eventually taken without returning to userland after the existing traps are finished by PTRACE_CONT.CONTEXTMust be called with task->sighand->siglock held.COPYRIGHTKernel Hackers Manual 3.10 June 2014 PTRACE_TRAP_NOTIFY(9)
| Related Man Pages |
|---|
| send_easy_trap(3) - centos |
| send_trap_vars(3) - centos |
| send_easy_trap(3) - suse |
| send_easy_trap(3) - osx |
| send_v2trap(3) - osx |
| Similar Topics in the Unix Linux Community |
|---|
| Weird 'find' results |
| CentOS7 restoring file capabilities |
| CentOS 6 ran out of space, need to reclaim it |
| Controlling user input |
| [TIP] Processing YAML files with yq |