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/9882a9c5346c
branches:  trunk
changeset: 820733:9882a9c5346c
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Jan 14 01:36:28 2017 +0000

description:
Update TODO.ptrace

Removed:
  - evaluate equivalent for PTRACE_O_TRACECLONE from Linux

clone(2)-like calls are traced with PTRACE_FORK, PTRACE_VFORK and
PTRACE_VFORK_DONE. VFORK ones block parent till termination or execve(2) of
its child.

Added:
  - add proper implementation of PTRACE_VFORK for vfork(2)-like events

Currently PTRACE_VFORK is a stub.

Sponsored by <The NetBSD Foundation>

diffstat:

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

diffs (18 lines):

diff -r 532eefd74578 -r 9882a9c5346c doc/TODO.ptrace
--- a/doc/TODO.ptrace   Sat Jan 14 01:33:32 2017 +0000
+++ b/doc/TODO.ptrace   Sat Jan 14 01:36:28 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO.ptrace,v 1.10 2017/01/08 04:27:36 kamil Exp $
+$NetBSD: TODO.ptrace,v 1.11 2017/01/14 01:36:28 kamil Exp $
 
 Items we (currently) plan to finish in the ptrace(2) field:
 
@@ -16,7 +16,7 @@
    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
+ - add proper implementation of PTRACE_VFORK for vfork(2)-like events
  - 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



Home | Main Index | Thread Index | Old Index