The NetBSD Project

CVS log for src/doc/Attic/TODO.ptrace

[BACK] Up to [cvs.NetBSD.org] / src / doc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33, Thu Oct 1 18:21:11 2020 UTC (3 weeks ago) by kamil
Branch: MAIN
CVS Tags: HEAD
Changes since 1.32: +1 -1 lines
FILE REMOVED

Drop TODO.ptrace

The remaining issues are mostly tracked in the ATF ptrace tests and GDB
or LLDB test-suite.

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 07:45:37 2020 UTC (6 months, 1 week ago) by martin
Branch: phil-wifi
Changes since 1.29.4.1: +1 -14 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 2 11:19:09 2020 UTC (6 months, 3 weeks ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Changes since 1.31: +1 -10 lines
Diff to previous 1.31 (colored)

Update with reality

Drop finished or not important tasks.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jun 14 16:11:11 2019 UTC (16 months, 1 week ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Changes since 1.30: +1 -5 lines
Diff to previous 1.30 (colored)

Update TODO.ptrace

Drop compat32 entries as they were mostly addressed.
Drop MD specific calls, it's up to port's CPU to contain various features
like PT_STEP.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 21:42:38 2019 UTC (16 months, 1 week ago) by christos
Branch: phil-wifi
Changes since 1.29: +1 -4 lines
Diff to previous 1.29 (colored)

Sync with HEAD

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:51:43 2018 UTC (2 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.29: +1 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.30 / (download) - annotate - [select for diffs], Sun Aug 5 13:07:33 2018 UTC (2 years, 2 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.29: +1 -4 lines
Diff to previous 1.29 (colored)

Update TODO.ptrace

Drop the following entries:
 - PaX MPROTECT tests - done, implemented.
 - research of ipkdb(4) - it's gone, if it will be superseded it would be
   probably a networking interface for kgdb
 - PTRACE_VFORK implemented and covered by tests, there are SMP bugs left

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Thu Apr 12 13:42:49 2018 UTC (2 years, 6 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.28: +1 -6 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Pull up following revision(s) (requested by kamil in ticket #713):

	sys/modules/procfs/Makefile: revision 1.4
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.98
	bin/ps/ps.1: revision 1.108
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.32
	sys/miscfs/procfs/procfs_vnops.c: revision 1.198
	sys/kern/sys_ptrace_common.c: revision 1.23
	sys/kern/sys_ptrace_common.c: revision 1.24
	sbin/mount_procfs/mount_procfs.8: revision 1.36
	sys/kern/sys_ptrace_common.c: revision 1.25
	sys/kern/sys_ptrace.c: revision 1.5
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.30
	sys/sys/proc.h: revision 1.342
	sys/kern/sys_ptrace_common.c: revision 1.26
	sys/miscfs/procfs/procfs_ctl.c: file removal
	sys/kern/sys_ptrace_common.c: revision 1.27
	sys/miscfs/procfs/procfs_subr.c: revision 1.109
	sys/kern/sys_ptrace_common.c: revision 1.28
	sys/secmodel/extensions/secmodel_extensions.c: revision 1.8
	sys/kern/sys_ptrace_common.c: revision 1.29
	sys/sys/ptrace.h: revision 1.62
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.45
	share/man/man9/kauth.9: revision 1.109
	sys/miscfs/procfs/files.procfs: revision 1.12
	sys/compat/netbsd32/netbsd32.h: revision 1.115
	sys/miscfs/procfs/procfs.h: revision 1.72
	sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.5
	sys/kern/kern_sig.c: revision 1.337
	sys/sys/kauth.h: revision 1.75
	sys/sys/sysctl.h: revision 1.224
	sys/kern/sys_ptrace_common.c: revision 1.30
	sys/kern/sys_ptrace_common.c: revision 1.31
	sys/kern/sys_ptrace_common.c: revision 1.32
	sys/kern/sys_ptrace_common.c: revision 1.33
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.20
	sys/kern/sys_ptrace_common.c: revision 1.34
	sys/kern/sys_ptrace_common.c: revision 1.36
	sys/kern/kern_proc.c: revision 1.207
	sys/kern/kern_exit.c: revision 1.269
	doc/TODO.ptrace: revision 1.29

Make {s,g}et{db,fp,}regs work again for PK_32 processes
XXX: pullup-8

add disgusting magic to handle compat_netbsd32 as a module.

use process_*reg32 instead of struct *reg32.

Remove the filesystem tracing feature

This is a legacy interface from 4.4BSD, and it was
introduced to overcome shortcomings of ptrace(2) at that time, which are
no longer relevant (performance). Today /proc/#/ctl offers a narrow
subset of ptrace(2) commands and is not applicable for modern
applications use beyond simplistic tracing scenarios.

This removal will simplify kernel internals. Users will still be able to
use all the other /proc files.

This change won't affect other procfs files neither Linux compat
features within mount_procfs(8). /proc/#/ctl isn't available on Linux.

Remove:
 - /proc/#/ctl from mount_procfs(8)
 - P_FSTRACE note from the documentation of ps(1)
 - /proc/#/ctl and filesystem tracing documentation from mount_procfs(8)
 - KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9)
 - source code file miscfs/procfs/procfs_ctl.c
 - PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h
 - KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h
 - PSL_FSTRACE (0x00010000) from sys/sys/proc.h
 - P_FSTRACE (0x00010000) from sys/sys/sysctl.h

Reduce code complexity after removal of this functionality.

Update TODO.ptrace accordingly: remove two entries about /proc tracing.

Do not keep legacy notes as comments in the headers about removed

PSL_FSTRACE / P_FSTRACE, as this interface had little number of users
(close or equal to zero).
Proposed on tech-kern@.

All filesystem tracing utility users are encouraged to switch to ptrace(2).

Sponsored by <The NetBSD Foundation>

untangle the mess:
- factor out common code
- break each ptrace subcall to its own sub-function
  .. more to come ...
- reduce ifdef ugliness by moving it up top.
- factor out PT_IO and make PT_{READ,WRITE}_{I,D} use it
- factor out PT_DUMPCORE
- factor out sendsig code
  .. more to come ...

handle siginfo requests for ptrace32

ptrace: Partially undo PT_{READ,WRITE}_{I,D} and unbreak these commands

The refactored code did not work and was generating EFAULT.

Sponsored by <The NetBSD Foundation>

Merge the code back; the problem was that since we are reading/writing
to a kernel address for PT_{READ,WRITE}_{I,D} we need the kernel vmspace.
provide separate read and write functions to accomodate register functions
that need a size argument.

don't ignore error from copyout_piod

Use the proper process (the tracee) to get information about lwps and
registers and the tracer for vmspace.

Add new sysctl(3) entry: security.models.extensions.user_set_dbregs

Model this new sysctl(3) entry after "user_set_cpu_affinity" in the same
level of sysctl(3) switches.

Allow to read unconditionally Debug Registers (no change here). This is
convenient as even if a user of a debugger does not use hardware assisted
watchpoints/breakpoints, a debugger can still prompt these values to store
in an internal cache with context of registers. Reading them should have
no security concerns.

Add a paranoid MI switch that prohibits by default setting these registers
by a regular user (non-superuser). Make this switch disabled by default.
There are enough reserved bits out there to allow using them
unconditionally on hardened hosts.

Features shipped with Debug Registers are optional features in debuggers.
There is no reduction in elementary functionality.

Reviewed by <christos>

Sponsored by <The NetBSD Foundation>

Revision 1.29 / (download) - annotate - [select for diffs], Mon Aug 28 00:46:07 2017 UTC (3 years, 1 month ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.28: +1 -6 lines
Diff to previous 1.28 (colored)

Remove the filesystem tracing feature

This is a legacy interface from 4.4BSD, and it was
introduced to overcome shortcomings of ptrace(2) at that time, which are
no longer relevant (performance). Today /proc/#/ctl offers a narrow
subset of ptrace(2) commands and is not applicable for modern
applications use beyond simplistic tracing scenarios.

This removal will simplify kernel internals. Users will still be able to
use all the other /proc files.

This change won't affect other procfs files neither Linux compat
features within mount_procfs(8). /proc/#/ctl isn't available on Linux.

Remove:
 - /proc/#/ctl from mount_procfs(8)
 - P_FSTRACE note from the documentation of ps(1)
 - /proc/#/ctl and filesystem tracing documentation from mount_procfs(8)
 - KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9)
 - source code file miscfs/procfs/procfs_ctl.c
 - PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h
 - KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h
 - PSL_FSTRACE (0x00010000) from sys/sys/proc.h
 - P_FSTRACE (0x00010000) from sys/sys/sysctl.h

Reduce code complexity after removal of this functionality.

Update TODO.ptrace accordingly: remove two entries about /proc tracing.

Do not keep legacy notes as comments in the headers about removed
PSL_FSTRACE / P_FSTRACE, as this interface had little number of users
(close or equal to zero).

Proposed on tech-kern@.

All filesystem tracing utility users are encouraged to switch to ptrace(2).

Sponsored by <The NetBSD Foundation>

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Wed Apr 26 02:52:18 2017 UTC (3 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.9.2.3: +1 -7 lines
Diff to previous 1.9.2.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:51:16 2017 UTC (3 years, 6 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.11: +15 -10 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 8 01:08:36 2017 UTC (3 years, 6 months ago) by kamil
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.27: +1 -7 lines
Diff to previous 1.27 (colored)

Update TODO.ptrace

Remove entries:
  - research support PT_SYSCALL & PT_STEP combined like in Linux
  - GDB Remote Protocol expects a case with a step with a signal to be sent,
    this is currently unsupported on NetBSD

Implemented as PT_SETSTEP and PT_CLEARSTEP.

Remove:
  - support QPassSignals (PT_SET_SIGPASS/PT_GET_SIGPASS) in the kernel, a way to
    stop routing a set of signals to tracer as they are uninteresting - GDB and
    LLDB expect this feature

This interface has been abandoned and will be handled on the debugger level.

Sponsored by <The NetBSD Foundation>

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Mon Mar 20 06:52:12 2017 UTC (3 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.9.2.2: +22 -13 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Fri Mar 3 07:11:49 2017 UTC (3 years, 7 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.26: +1 -2 lines
Diff to previous 1.26 (colored)

TODO.ptrace: Remove entry about addition of TRAP_SCE and TRAP_SCX

These siginfo(2) codes have been committed.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 3 07:03:11 2017 UTC (3 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

Add new entry in TODO.ptrace about QPassSignals

Added:
   support QPassSignals (PT_SET_SIGPASS/PT_GET_SIGPASS) in the kernel, a way to
   stop routing a set of signals to tracer as they are uninteresting - GDB and
   LLDB expect this feature

Revision 1.25 / (download) - annotate - [select for diffs], Thu Mar 2 14:25:41 2017 UTC (3 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

Add new entry in TODO.ptrace about PT_STEP with a signal

Added:
  GDB Remote Protocol expects a case with a step with a signal to be sent,
  this is currently unsupported on NetBSD

Revision 1.24 / (download) - annotate - [select for diffs], Tue Feb 28 13:10:54 2017 UTC (3 years, 7 months ago) by kamil
Branch: MAIN
Changes since 1.23: +1 -4 lines
Diff to previous 1.23 (colored)

Sync TODO.ptrace with reality

Remove entries:
- add new ptrace(2) calls to lock (suspend) and unlock LWP within a process
- switch PT_WATCHPOINT* to PT_*ETDBREGS and document it, add ATF tests
- add ATF tests for PT_SYSCALL and PT_SYSCALLEMU

Sponsored by <The NetBSD Foundation>

Revision 1.23 / (download) - annotate - [select for diffs], Mon Feb 20 03:37:24 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

Add new entry to TODO.ptrace

check 64-bit debugger on 64-bit kernel tracing capabilities of 32-bit tracee

Sponsored by <The NetBSD Foundation>

Revision 1.22 / (download) - annotate - [select for diffs], Fri Feb 17 21:22:02 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

Add new entry in TODO.ptrace

Research kgdb. It should be supported by GDB and LLDB.

Sponsored by <The NetBSD Foundation>

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 14 18:38:07 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Add new entry to TODO.ptrace

research ipkdb(4)

Sponsored by <The NetBSD Foundation>

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 13 15:29:18 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.19: +10 -4 lines
Diff to previous 1.19 (colored)

Update TODO.ptrace

Note BSD4.4-like /proc debugging removal
Explain kevent(2)-based debugging proposal

Sponsored by <The NetBSD Foundation>

Revision 1.19 / (download) - annotate - [select for diffs], Sun Feb 12 06:16:33 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

Update TODO.ptrace

Remove:
 - add PT_SET_SIGMASK and PT_GET_SIGMASK - used by checkpointing software

This interface has been committed to HEAD.

Sponsored by <The NetBSD Foundation>

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 12 05:21:34 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.17: +5 -1 lines
Diff to previous 1.17 (colored)

Update TODO.ptrace with new entries

Added entries:
 - add support to read debugger events via a file descriptor in procfs
   (kevent(2)), it's still useful in cases when a parent traces tracee and has
   to call waitpid(2) for its child - as this clashes with GUI toolkits
 - fix more calls for netbsd32 compat

Sponsored by <The NetBSD Foundation>

Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 11 19:10:04 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.16: +2 -4 lines
Diff to previous 1.16 (colored)

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>

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 8 14:53:50 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Add new entry in TODO.ptrace

Added:
    add PT_SET_SIGMASK and PT_GET_SIGMASK - used by checkpointing software

Example software: gdb, criu

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 8 03:44:41 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

libpthread_dbg(3) deletion from the base distribution

libpthread_dbg(3) is a remnant library from the M:N thread model
(pre-NetBSD-5.0) API to introspect threads within a process and for use
of debuggers.

Currently in the 1:1 model it's not used in GDB neither in LLDB and it's
not either planned to be used. It's current function to read pthread_t
structures is realizable within a regular debugger capable to
instrospect objects within a tracee (GDB, LLDB...).

Remaining users of this API can still use this library from
pkgsrc/devel/libpthread_dbg.

Sponsored by <The NetBSD Foundation>

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 7 16:15:05 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.13: +5 -7 lines
Diff to previous 1.13 (colored)

Update TODO.ptrace

Note PT_WATCHPOINT change to PT_*ETDBREGS.
Remove GDB and LLDB related entries from generic ptrace(2) TODO.
Note need for TRAP_SCE and TRAP_SCX si_codes in PT_SYSCALL*.
Note removal request of pthread_dbg(3).

Sponsord by <The NetBSD Foundation>

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jan 26 01:12:13 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Update TODO.ptrace

Added:
 - reiterate over FreeBSD tests and add missing ones if applicable

Sponsored by <The NetBSD Foundation>

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 26 01:04:23 2017 UTC (3 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

Update TODO.ptrace

Drop:
 - add ATF tests for PIOD_READ_AUXV

Add new entry:
 - research what happens when a tracee masks signals (including SIGTRAP)
   and a breakpoint is triggered

Sponsored by <The NetBSD Foundation>

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 14 01:36:28 2017 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
CVS Tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

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>

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jan 8 04:27:36 2017 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored)

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>

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:53:45 2017 UTC (3 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.9.2.1: +30 -0 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.9.2.1, Sat Dec 31 20:57:15 2016 UTC (3 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.9: +0 -30 lines
FILE REMOVED

file TODO.ptrace was added on branch pgoyette-localcount on 2017-01-07 08:53:45 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 31 20:57:15 2016 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Branch point for: pgoyette-localcount
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Update TODO.ptrace

Mark exect(3) for removal, there is no use-case for it. exec() is already
monitored and emits SIGTRAP when traced.

Accessor for siginfo_t is not case for PT_IO -- it's not reading/writing
process space of other process, but shared kernel space.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Dec 26 08:43:55 2016 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

Add new entry in TODO.ptrace

 + add support to read and write siginfo_t from and to tracee (reuse PT_IO?)

Sponsored by <The NetBSD Foundation>

Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 26 03:24:11 2016 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

Add new entry in TODO.ptrace

 + add ATF tests for PT_SYSCALL and PT_SYSCALLEMU

Sponsored by <The NetBSD Foundation>

Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 24 05:43:31 2016 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Add new entry in TODO.ptrace

New entry:
 - add ATF tests for SIGCHLD

Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 19 03:19:37 2016 UTC (3 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

TODO.ptrace: Update notes about MD documentation

Currently all the MD interfaces are documented, remove this line from TODO.
Add new note:
    once the API for hardware watchpoints will stabilize, document it

Sponsored by <The NetBSD Foundation>

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 15 12:42:38 2016 UTC (3 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Update TODO.ptrace with recent changes

Hardware assisted breakpoint/watchpoint API has been merged with current.

Add note about pthread_dbg(3) API needed to be refactored and limited to
querying POSIX thread private data fields.

Sponsored by <The NetBSD Foundation>

Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 15 07:47:08 2016 UTC (3 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

Add new entries to TODO.ptrace

 - add support for detecting equivalent events to PTRACE_O_TRACEEXEC,
   PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXIT from Linux
 - exect(3) rething or remove -- maybe PT_TRACE_ME + PTRACE_O_TRACEEXEC?

Sponsored by <The NetBSD Foundation>

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 14 06:26:04 2016 UTC (3 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.1: +6 -2 lines
Diff to previous 1.1 (colored)

Update TODO.ptrace

Add new entries:
 - 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

Sponsored by <The NetBSD Foundation>

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 13 09:44:35 2016 UTC (3 years, 10 months ago) by kamil
Branch: MAIN

Add initial TODO list for the ptrace(2) (and procfs) interface.

Sponsored by <The NetBSD Foundation>

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>