Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/doc Update TODO.ptrace



details:   https://anonhg.NetBSD.org/src/rev/30cc2fb29dcf
branches:  trunk
changeset: 821642:30cc2fb29dcf
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Feb 11 19:10:04 2017 +0000

description:
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>

diffstat:

 doc/TODO.ptrace |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 97ea73bc345d -r 30cc2fb29dcf doc/TODO.ptrace
--- a/doc/TODO.ptrace   Sat Feb 11 18:47:36 2017 +0000
+++ b/doc/TODO.ptrace   Sat Feb 11 19:10:04 2017 +0000
@@ -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 @@
  - 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.
 



Home | Main Index | Thread Index | Old Index