Module Name: src
Committed By: kamil
Date: Sat Feb 11 19:10:05 UTC 2017
Modified Files:
src/doc: TODO.ptrace
Log Message:
Update TODO.ptrace
Remove entries:
- remove exect(3) from libc - there is no usecase for it
Interface has been marked obsolete and it's on the queue to be removed for.
- research what happens when a tracee masks signals (including SIGTRAP) and a
breakpoint is triggered
It has been researched and ATF tests added (signal1 .. signal10).
It's currently broken on NetBSD.
Add:
- research support PT_SYSCALL & PT_STEP combined like in Linux
There are circumstances when we want to sstep and catch syscall events.
Sponsored by <The NetBSD Foundation>
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/doc/TODO.ptrace
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/doc/TODO.ptrace
diff -u src/doc/TODO.ptrace:1.16 src/doc/TODO.ptrace:1.17
--- src/doc/TODO.ptrace:1.16 Wed Feb 8 14:53:50 2017
+++ src/doc/TODO.ptrace Sat Feb 11 19:10:04 2017
@@ -1,4 +1,4 @@
-$NetBSD: TODO.ptrace,v 1.16 2017/02/08 14:53:50 kamil Exp $
+$NetBSD: TODO.ptrace,v 1.17 2017/02/11 19:10:04 kamil Exp $
Items we (currently) plan to finish in the ptrace(2) field:
@@ -15,13 +15,11 @@ Items we (currently) plan to finish in t
- add support for PT_STEP, PT_GETREGS, PT_SETREGS, PT_GETFPREGS, PT_SETFPREGS
in all ports
- add proper implementation of PTRACE_VFORK for vfork(2)-like events
- - remove exect(3) from libc - there is no usecase for it
- - research what happens when a tracee masks signals (including SIGTRAP) and a
- breakpoint is triggered
- add ATF tests for SIGCHLD
- add si_code values for PT_SYSCALL: TRAP_SCE and TRAP_SCX
- add ATF tests for PT_SYSCALL and PT_SYSCALLEMU
- add PT_SET_SIGMASK and PT_GET_SIGMASK - used by checkpointing software
+ - research support PT_SYSCALL & PT_STEP combined like in Linux
and of course: fix as many bugs as possible.