NetBSD/doc/TODO.ptrace
kamil 50603fe4db Update TODO.ptrace
1. siginfo_t accessors done
2. PTRACE_O_TRACEEXIT not applicable for NetBSD as we are tracing the whole
process at once, not per thread
3. PTRACE_O_TRACEEXEC implemented as SIGTRAP & TRAP_EXEC

Sponsored by <The NetBSD Foundation>
2017-01-08 04:27:36 +00:00

29 lines
1.3 KiB
Plaintext

$NetBSD: TODO.ptrace,v 1.10 2017/01/08 04:27:36 kamil Exp $
Items we (currently) plan to finish in the ptrace(2) field:
- verify ppid of core dump generated with PT_DUMPCORE
it must point to the real parent, not tracer
- adapt OpenBSD regress test (regress/sys/ptrace/ptrace.c) for the ATF context
- add new ptrace(2) calls to lock (suspend) and unlock LWP within a process
- add PT_DUMPCORE tests in the ATF framework
- add ATF tests for PT_WRITE_I and PIOD_WRITE_I - test mprotect restrictions
- add ATF tests for PIOD_READ_AUXV
- once the API for hardware watchpoints will stabilize, document it
- add tests for the procfs interface covering all functions available on the
same level as ptrace(2)
- add support for PT_STEP, PT_GETREGS, PT_SETREGS, PT_GETFPREGS, PT_SETFPREGS
in all ports
- integrate all ptrace(2) features in gdb
- add ptrace(2) NetBSD support in LLDB
- evaluate equivalent for PTRACE_O_TRACECLONE from Linux
- remove exect(3) - there is no usecase for it
- refactor pthread_dbg(3) to only query private pthread_t data, otherwise it
duplicates ptrace(2) interface and cannot cover all types of threads
- add ATF tests for SIGCHLD
- add ATF tests for PT_SYSCALL and PT_SYSCALLEMU
and of course: fix as many bugs as possible.
Features in ELF, DWARF, CTF, DTrace are out of scope of the above list.