The NetBSD Project

CVS log for src/lib/libc/sys/ptrace.2

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.85 / (download) - annotate - [select for diffs], Thu May 14 13:40:49 2020 UTC (3 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.84: +6 -3 lines
Diff to previous 1.84 (colored)

Use more markup.

Revision 1.84 / (download) - annotate - [select for diffs], Thu May 14 13:32:15 2020 UTC (3 years, 11 months ago) by kamil
Branch: MAIN
Changes since 1.83: +27 -2 lines
Diff to previous 1.83 (colored)

Introduce new ptrace(2) operations: PT_SET_SIGPASS and PT_GET_SIGPASS

They deliver the logic of bypassing selected signals directly to the
debuggee, without informing the debugger.

This can be used to implement the QPassSignals GDB/LLDB protocol.

This call can be useful to avoid signal races in ATF ptrace tests.

Revision 1.69.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:11 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.69.2.1: +189 -63 lines
Diff to previous 1.69.2.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.83 / (download) - annotate - [select for diffs], Sat Jan 4 04:40:17 2020 UTC (4 years, 3 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Changes since 1.82: +30 -28 lines
Diff to previous 1.82 (colored)

Document PT_LWPSTATUS and PT_LWPNEXT in ptrace(2)

Remove mentions of obsolete PT_LWPINFO.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Tue Oct 15 19:13:22 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.79: +31 -3 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

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

	lib/libc/sys/ptrace.2: revision 1.81

Document PT_STOP, update PT_KILL in the ptrace(2) man-page
Formatting by <mgorny>

Revision 1.82 / (download) - annotate - [select for diffs], Wed Oct 9 14:20:47 2019 UTC (4 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

Fix xref.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Oct 9 13:42:37 2019 UTC (4 years, 6 months ago) by kamil
Branch: MAIN
Changes since 1.80: +31 -3 lines
Diff to previous 1.80 (colored)

Document PT_STOP, update PT_KILL in the ptrace(2) man-page

Formatting by <mgorny>

Revision 1.80 / (download) - annotate - [select for diffs], Tue Jul 30 20:18:11 2019 UTC (4 years, 8 months ago) by mgorny
Branch: MAIN
Changes since 1.79: +6 -3 lines
Diff to previous 1.79 (colored)

Include pe_lwp member in 'struct ptrace_state'

Reviewed by kamil.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Jul 11 03:30:01 2019 UTC (4 years, 9 months ago) by mgorny
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

Fix thinko: syscalls -> signals

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jul 10 19:51:14 2019 UTC (4 years, 9 months ago) by mgorny
Branch: MAIN
Changes since 1.77: +17 -4 lines
Diff to previous 1.77 (colored)

Improve/fix doc of PT_SETSTEP and PT_CLEARSTEP.

Reviewed by kamil.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jul 10 19:03:47 2019 UTC (4 years, 9 months ago) by mgorny
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Fix typo: SIGRAP -> SIGTRAP

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jun 26 13:31:48 2019 UTC (4 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.75: +35 -37 lines
Diff to previous 1.75 (colored)

Use Vt for variable types. New sentence, new line. Add a missing ')'.
Add/remove some articles or other missing words.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Jun 26 12:30:12 2019 UTC (4 years, 9 months ago) by mgorny
Branch: MAIN
Changes since 1.74: +75 -3 lines
Diff to previous 1.74 (colored)

Implement PT_GETXSTATE and PT_SETXSTATE

Introduce two new ptrace() requests: PT_GETXSTATE and PT_SETXSTATE,
that provide access to the extended (and extensible) set of FPU
registers on amd64 and i386.  At the moment, this covers AVX (YMM)
and AVX-512 (ZMM, opmask) registers.  It can be easily extended
to cover further register types without breaking backwards
compatibility.

PT_GETXSTATE issues the XSAVE instruction with all kernel-supported
extended components enabled.  The data is copied into 'struct xstate'
(which -- unlike the XSAVE area itself -- has stable format
and offsets).

PT_SETXSTATE issues the XRSTOR instruction to restore the register
values from user-provided 'struct xstate'.  The function replaces only
the specific XSAVE components that are listed in 'xs_rfbm' field,
making it possible to issue partial updates.

Both syscalls take a 'struct iovec' pointer rather than a direct
argument.  This requires the caller to explicitly specify the buffer
size.  As a result, existing code will continue to work correctly
when the structure is extended (performing partial reads/updates).

Revision 1.74 / (download) - annotate - [select for diffs], Wed Jun 12 12:33:42 2019 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Fix typo.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Jun 12 12:30:42 2019 UTC (4 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.72: +6 -11 lines
Diff to previous 1.72 (colored)

Try to make posix_spawn(3) note in ptrace(2) less confusing

Revision 1.72 / (download) - annotate - [select for diffs], Wed Jun 12 10:09:26 2019 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.71: +3 -2 lines
Diff to previous 1.71 (colored)

Use Xr.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jun 11 23:27:46 2019 UTC (4 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.70: +21 -7 lines
Diff to previous 1.70 (colored)

Document PTRACE_POSIX_SPAWN in man-page

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:21 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.69: +29 -6 lines
Diff to previous 1.69 (colored)

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Sat May 25 04:25:14 2019 UTC (4 years, 10 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.69: +29 -6 lines
Diff to previous 1.69 (colored)

Update the ptrace(2) documentation

Document that TRAP_EXEC can be returned for PT_SYSCALL.
Document truncated byte transfers.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Wed May 2 07:20:01 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.68: +2 -6 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Synch with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Tue May 1 16:37:23 2018 UTC (5 years, 11 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502
Branch point for: phil-wifi
Changes since 1.68: +2 -6 lines
Diff to previous 1.68 (colored)

Implement PTRACE_VFORK

Add support for tracing vfork(2) events in the context of ptrace(2).

This API covers other frontends to fork1(9) like posix_spawn(2) or clone(2),
if they cause parent to wait for exec(2) or exit(2) of the child.

Changes:
 - Add new argument to sigswitch() determining whether we need to acquire
   the proc_lock or whether it's already held.
 - Refactor fork1(9) for fork(2) and vfork(2)-like events.
   Call sigswitch() from fork(1) for forking or vforking parent, instead of
   emitting kpsignal(9). We need to emit the signal and suspend the parent,
   returning to user and relock proc_lock.
 - Add missing prototype for proc_stop_done() in kern_sig.c.
 - Make sigswitch a public function accessible from other kernel code
   including <sys/signalvar.h>.
 - Remove an entry about unimplemented PTRACE_VFORK in the ptrace(2) man page.
 - Permin PTRACE_VFORK in the ptrace(2) frontend for userland.
 - Remove expected failure for unimplemented PTRACE_VFORK tests in the ATF
   ptrace(2) test-suite.
 - Relax signal routing constraints under a debugger for a vfork(2)ed child.
   This intended to protect from signaling a parent of a vfork(2)ed child that
   called PT_TRACE_ME, but wrongly misrouted other signals in vfork(2)
   use-cases.

Add XXX comments about still existing problems and future enhancements:
 - correct vfork(2) + PT_TRACE_ME handling.
 - fork1(2) handling of scenarios when a process is collected in valid but
   rare cases.

All ATF ptrace(2) fork[1-8] and vfork[1-8] tests pass.

Fix PR kern/51630 by Kamil Rytarowski (myself).

Sponsored by <The NetBSD Foundation>

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Tue Mar 6 09:52:09 2018 UTC (6 years, 1 month 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.67: +1 -26 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Pull up following revision(s) (requested by kamil in ticket #602):
	doc/CHANGES{,.prev}: revision 1.138
	sys/sys/ptrace.h: revision 1.63
	lib/libc/sys/ptrace.2: revision 1.68
	sys/kern/sys_ptrace_common.c: revision 1.35 (via patch)
	tests/lib/libc/sys/t_ptrace_wait.c: revision 1.23

Remove PT_GET_SIGMASK / PT_SET_SIGMASK

These operations cloned Linux's specific PTRACE_GETSIGMASK /
PTRACE_SETSIGMASK.

This feature was useful in applications like rr/criu/reptyr-like, where
the ptrace(2) interface is abused for the purpose of constructing an
arbitrary
process. It's not reliable and not portable. For the NetBSD case it will =
be
better to invent something dedicated for serializing and deserializing a
process with threads.

Noted on tech-toolchain@ and blog entry
"LLDB restoration and return to ptrace(2)"
https://blog.netbsd.org/tnf/entry/lldb_restoration_and_return_to

Revision 1.68 / (download) - annotate - [select for diffs], Mon Mar 5 11:24:35 2018 UTC (6 years, 1 month ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.67: +1 -26 lines
Diff to previous 1.67 (colored)

Remove PT_GET_SIGMASK / PT_SET_SIGMASK

These operations cloned Linux's specific PTRACE_GETSIGMASK / PTRACE_SETSIGMASK.
This feature was useful in applications like rr/criu/reptyr-like, where
the ptrace(2) interface is abused for the purpose of constructing an arbitrary
process. It's not reliable and not portable. For the NetBSD case it will be
better to invent something dedicated for serializing and deserializing a
process with threads.

Noted on tech-toolchain@ and blog entry

"LLDB restoration and return to ptrace(2)"
https://blog.netbsd.org/tnf/entry/lldb_restoration_and_return_to

Revision 1.67 / (download) - annotate - [select for diffs], Sat Jun 3 19:41:14 2017 UTC (6 years, 10 months ago) by abhinav
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Fix typo: s/interrput/interrupt/

Revision 1.37.2.4 / (download) - annotate - [select for diffs], Wed Apr 26 02:52:54 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.37.2.3: +19 -9 lines
Diff to previous 1.37.2.3 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

Sync with HEAD

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:09 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.55: +163 -11 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with HEAD

Revision 1.66 / (download) - annotate - [select for diffs], Sat Apr 8 00:58:35 2017 UTC (7 years ago) by kamil
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Fix typo in previous (ptrace(2))

Revision 1.65 / (download) - annotate - [select for diffs], Sat Apr 8 00:56:38 2017 UTC (7 years ago) by kamil
Branch: MAIN
Changes since 1.64: +13 -1 lines
Diff to previous 1.64 (colored)

Document new calls and be more clear about PT_SYSCALL* in ptrace(2)

Document PT_SETSTEP and PT_CLEARSTEP in ptrace(2).

Try to explain more details of PT_SYSCALL and PT_SYSCALLEMU.

The description of PT_*STEP has been obtained from FreeBSD.

Sponsored by <The NetBSD Foundation>

Revision 1.64 / (download) - annotate - [select for diffs], Fri Apr 7 07:21:58 2017 UTC (7 years ago) by pgoyette
Branch: MAIN
Changes since 1.63: +3 -4 lines
Diff to previous 1.63 (colored)

Fix typos and some grammar

Revision 1.63 / (download) - annotate - [select for diffs], Fri Apr 7 00:56:14 2017 UTC (7 years ago) by kamil
Branch: MAIN
Changes since 1.62: +5 -6 lines
Diff to previous 1.62 (colored)

Correction in ptrace(2) about operations that emit signals

PT_STEP and PT_DETACH cannot emit signals
PT_CONTINUE and PT_SYSCALL can emit signals

Pointed out by <chs>

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Mon Mar 20 06:56:58 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.37.2.2: +290 -17 lines
Diff to previous 1.37.2.2 (colored) to branchpoint 1.37 (colored)

Sync with HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Thu Feb 23 08:11:09 2017 UTC (7 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.61: +4 -5 lines
Diff to previous 1.61 (colored)

Formatting fix.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Feb 23 05:48:14 2017 UTC (7 years, 1 month ago) by kamil
Branch: MAIN
Changes since 1.60: +71 -3 lines
Diff to previous 1.60 (colored)

Document PT_GETDBREGS and PT_SETDBRGS in ptrace(2)

Not this interface in MD part.
Explain design choices.

Sponsored by <The NetBSD Foundation>

Revision 1.60 / (download) - annotate - [select for diffs], Wed Feb 22 23:43:43 2017 UTC (7 years, 1 month ago) by kamil
Branch: MAIN
Changes since 1.59: +39 -1 lines
Diff to previous 1.59 (colored)

Introduce new ptrace(2) API to allow/prevent exection of LWP

Introduce new API for debuggers to allow/prevent execution of the specified
thread.

New ptrace(2) operations:

     PT_RESUME     Allow execution of a specified thread, change its state
                   from suspended to continued.  The addr argument is unused.
                   The data argument specifies the LWP ID.

                   This call is equivalent to _lwp_continue(2) called by a
                   traced process.  This call does not change the general
                   process state from stopped to continued.

     PT_SUSPEND    Prevent execution of a specified thread, change its state
                   from continued to suspended.  The addr argument is unused.
                   The data argument specifies the requested LWP ID.

                   This call is equivalent to _lwp_suspend(2) called by a
                   traced process.  This call does not change the general
                   process state from continued to stopped.

This interface is modeled after FreeBSD, however with NetBSD specific arguments
passed to ptrace(2) -- FreeBSD passes only thread id, NetBSD passes process and
thread id.

Extend PT_LWPINFO operation in ptrace(2) to report suspended threads. In the
ptrace_lwpinfo structure in pl_event next to PL_EVENT_NONE and PL_EVENT_SIGNAL
add new value PL_EVENT_SUSPENDED.

Add new errno(2) value EDEADLK that might be returned by ptrace(2). It prevents
dead-locking in a scenario of resuming a process or thread that is prevented
from execution. This fixes bug that old API was vulnerable to this scenario.

Kernel bump delayed till introduction of PT_GETDBREGS/PT_SETDBREGS soon.

Add new ATF tests:
 - resume1
   Verify that a thread can be suspended by a debugger and later
   resumed by the debugger

 - suspend1
   Verify that a thread can be suspended by a debugger and later
   resumed by a tracee

 - suspend2
   Verify that the while the only thread within a process is
   suspended, the whole process cannot be unstopped

Sponsored by <The NetBSD Foundation>

Revision 1.59 / (download) - annotate - [select for diffs], Sun Feb 12 06:09:53 2017 UTC (7 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.58: +27 -2 lines
Diff to previous 1.58 (colored)

Introduce new interface in ptrace(2) - PT_GET_SIGMASK and PT_SET_SIGMASK

Add new interface to add ability to get/set signal mask of a tracee.
It has been inspired by Linux PTRACE_GETSIGMASK and PTRACE_SETSIGMASK, but
adapted for NetBSD API.

This interface is used for checkpointing software to set/restore context
of a process including signal mask like criu or just to track this property
in reverse-execution software like Record and Replay Framework (rr).


Add new ATF tests for this interface
====================================
getsigmask1:
    Verify that plain PT_SET_SIGMASK can be called

getsigmask2:
    Verify that PT_SET_SIGMASK reports correct mask from tracee

setsigmask1:
    Verify that plain PT_SET_SIGMASK can be called with empty mask

setsigmask2:
    Verify that sigmask is preserved between PT_GET_SIGMASK and
    PT_SET_SIGMASK

setsigmask3:
    Verify that sigmask is preserved between PT_GET_SIGMASK, process
    resumed and PT_SET_SIGMASK

setsigmask4:
    Verify that new sigmask is visible in tracee


Kernel ABI bump delayed as there are more interfaces to come in ptrace(2).

Sponsored by <The NetBSD Foundation>

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jan 27 12:52:39 2017 UTC (7 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Spelling fixes.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Jan 25 17:12:56 2017 UTC (7 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.56: +9 -2 lines
Diff to previous 1.56 (colored)

Make the PIOD_READ_AUXV operation more clear

Describe how to set piod_offs.

Sponsored by <The NetBSD Foundation>

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jan 15 22:18:11 2017 UTC (7 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.55: +7 -2 lines
Diff to previous 1.55 (colored)

Fix one markup issue and add initial HISTORY section

Import HISTORY notes from FreeBSD.

Sponsored by <The NetBSD Foundation>

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jan 14 14:33:18 2017 UTC (7 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Wording, macro use.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jan 14 07:17:38 2017 UTC (7 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.53: +6 -2 lines
Diff to previous 1.53 (colored)

Document PTRACE_LWP_CREATE and PTRACE_LWP_EXIT in ptrace(2)

Sponsored by <The NetBSD Foundation>

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jan 14 00:02:40 2017 UTC (7 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.52: +26 -4 lines
Diff to previous 1.52 (colored)

Document PTRACE_VFORK and PTRACE_VFORK_DONE in ptrace(2)

PTRACE_VFORK - report vfork(2)-like operations and trace child
PTRACE_VFORK_DONE - report unblocking the parent after vfork(2)-like call

Note that PTRACE_VFORK is currently unimplemented and returns ENOTSUP.

Sponsored by <The NetBSD Foundation>

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jan 11 07:32:36 2017 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Correct man-page category of posix_spawn: is (3) not (2)

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jan 11 07:31:14 2017 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.50: +34 -3 lines
Diff to previous 1.50 (colored)

Document SIGTRAP with si_code TRAP_CHLD in ptrace(2)

Document the current behavior of TRAP_CHILD in NetBSD.
Add more notes on PTRACE_FORK events.

Sponsored by <The NetBSD Foundation>

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:03 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.37.2.1: +121 -184 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored)

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

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jan 7 05:51:14 2017 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.49: +90 -16 lines
Diff to previous 1.49 (colored)

Add more notes explaining how debuggers work on NetBSD

Explain:
 - execve(2) handling and behavior, SIGTRAP & TRAP_EXEC
 - reference PaX MPROTECT restrictions for debuggers
 - software breakpoints handling and behavior, SIGTRAP & TRAP_BKPT
 - single step behavior, SIGTRAP & TRAP_TRACE
 - list predefined MI symbols for help debuggers in port specific headers
 - explain that PT_TRACE_ME does not send a SIGSTOP signal

Sponsored by <The NetBSD Foundation>

Revision 1.49 / (download) - annotate - [select for diffs], Sat Jan 7 03:41:25 2017 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.48: +52 -1 lines
Diff to previous 1.48 (colored)

Document PT_SET_SIGINFO and PT_GET_SIGINFO in ptrace(2)

PT_SET_SIGINFO - fake signal information emitted to tracee
PT_GET_SIGINFO - read signal information routed to tracee

Sponsored by <The NetBSD Foundation>

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jan 7 01:32:35 2017 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Fix swapped text between PT_GET_PROCESS_STATE and PT_GET_EVENT_MASK

Sponsored by <The NetBSD Foundation>

Revision 1.47 / (download) - annotate - [select for diffs], Sat Jan 7 01:29:18 2017 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.46: +10 -3 lines
Diff to previous 1.46 (colored)

ptrace(2): Document addr and data argument usage for PT_GET_PROCESS_STATE


The PT_GET_PROCESS_STATE call in ptrace(2) has the following usage of addr
and data:

    A pointer to this structure is passed in addr.  The data
    argument should be set to sizeof(struct ptrace_event).

Sponsored by <The NetBSD Foundation>

Revision 1.46 / (download) - annotate - [select for diffs], Thu Dec 29 22:17:51 2016 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.45: +7 -2 lines
Diff to previous 1.45 (colored)

Reference siginfo(2) for a SIGCHLD signal

siginfo(2) describes appropriate signal specific information for SIGCHLD.

Sponsored by <The NetBSD Foundation>

Revision 1.45 / (download) - annotate - [select for diffs], Mon Dec 19 07:17:45 2016 UTC (7 years, 3 months ago) by abhinav
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Be consistent in using process' (vs process's).

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 15 15:03:17 2016 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.43: +28 -1 lines
Diff to previous 1.43 (colored)

ptrace(2): Document PT_GETVECREGS and PT_SETVECREGS (ppc ports specific)

Sponsored by <The NetBSD Foundation>

Revision 1.43 / (download) - annotate - [select for diffs], Thu Dec 15 14:49:46 2016 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.42: +28 -1 lines
Diff to previous 1.42 (colored)

ptrace(2): Document PT_GETXMMREGS and PT_SETXMMREGS (i386 port specific)

Sponsored by <The NetBSD Foundation>

Revision 1.42 / (download) - annotate - [select for diffs], Thu Dec 15 13:06:08 2016 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.41: +1 -159 lines
Diff to previous 1.41 (colored)

ptrace(2): Remove dead text, some of it commented in this file for years

For example PT_READ_U/PT_WRITE_U has been removed by <mycroft> in 19950126.

Sponsored by <The NetBSD Foundation>

Revision 1.41 / (download) - annotate - [select for diffs], Sat Dec 10 20:02:07 2016 UTC (7 years, 4 months ago) by kamil
Branch: MAIN
Changes since 1.40: +1 -5 lines
Diff to previous 1.40 (colored)

Remove outdated note in the PT_DUMPCORE call of the ptrace(2) man-page

Currently the PT_DUMPCORE call requires process to be stopped, therefore it
no longer need to warn about stoped tracee to generate consistent data.

Sponsored by <The NetBSD Foundation>

Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 24 00:12:52 2016 UTC (7 years, 4 months ago) by kamil
Branch: MAIN
Changes since 1.39: +1 -19 lines
Diff to previous 1.39 (colored)

Remove duplicated PT_DUMPCORE description in machine-specific calls section

This function is part of the general ptrace(2) interface.

Sponsored by <The NetBSD Foundation>

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:48:53 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.37: +53 -2 lines
Diff to previous 1.37 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Tue Nov 1 15:30:47 2016 UTC (7 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Bump date for previous.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Nov 1 13:51:13 2016 UTC (7 years, 5 months ago) by kamil
Branch: MAIN
Changes since 1.37: +52 -1 lines
Diff to previous 1.37 (colored)

Document PT_SET_EVENT_MASK, PT_GET_EVENT_MASK and PT_GET_PROCESS_STATE

These descriptions are imported from OpenBSD.

Approved by <christos>

Sponsored by <The NetBSD Foundation>

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 2 03:50:21 2015 UTC (8 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.36: +6 -2 lines
Diff to previous 1.36 (colored)

document PIOD_READ_AUXV.

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:16 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.35.18.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:51:51 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Rebase.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jul 28 08:10:23 2014 UTC (9 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored)

PR/49045: Tetsuya Isaki: remove remaining caddr_t in ptrace(2)

Revision 1.35 / (download) - annotate - [select for diffs], Wed Aug 31 23:04:33 2011 UTC (12 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Changes since 1.34: +5 -2 lines
Diff to previous 1.34 (colored)

Document PT_SYSCALLEMU

Revision 1.34 / (download) - annotate - [select for diffs], Wed Apr 14 08:57:21 2010 UTC (14 years ago) by jruoho
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.33: +9 -9 lines
Diff to previous 1.33 (colored)

Add offsets to the indentation in couple of places.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 6 14:26:59 2010 UTC (14 years ago) by wiz
Branch: MAIN
Changes since 1.32: +44 -38 lines
Diff to previous 1.32 (colored)

New sentence, new line. Sort errors. Remove trailing whitespace.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 6 13:50:22 2010 UTC (14 years ago) by christos
Branch: MAIN
Changes since 1.31: +41 -6 lines
Diff to previous 1.31 (colored)

PR/43128: Paul Koning: Threads support in ptrace() is insufficient for gdb to
debug threaded live apps: Add an optional lwpid in PT_STEP and PT_CONTINUE to
indicate which lwp to operate on, and implement the glue required to make it
work.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Mar 22 19:30:55 2010 UTC (14 years ago) by joerg
Branch: MAIN
Changes since 1.30: +9 -9 lines
Diff to previous 1.30 (colored)

Use .In for header files instead of .Ar Pa and variations.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Mar 12 12:50:42 2007 UTC (17 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, christos-time_t-nbase, christos-time_t-base, christos-time_t
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Correct the struct name for PT_LWPINFO

Revision 1.29 / (download) - annotate - [select for diffs], Tue Mar 6 16:07:22 2007 UTC (17 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

the "addr" argument to ptrace(2) is void* now

Revision 1.28 / (download) - annotate - [select for diffs], Sat Mar 11 12:03:03 2006 UTC (18 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.27: +13 -13 lines
Diff to previous 1.27 (colored)

Use more markup.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 6 15:47:42 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.26: +52 -2 lines
Diff to previous 1.26 (colored)

Add documentations for the 3 undocumented ptrace calls.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 9 17:41:19 2005 UTC (19 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.25: +20 -2 lines
Diff to previous 1.25 (colored)

document PT_DUMPCORE.

Revision 1.25 / (download) - annotate - [select for diffs], Thu May 13 10:20:58 2004 UTC (19 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

\- is a minus, not -.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jun 26 09:50:49 2003 UTC (20 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Fix typo in macro.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Apr 16 13:34:55 2003 UTC (21 years ago) by wiz
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 31 03:05:43 2003 UTC (21 years ago) by perry
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

avaliable->available (Igor Sobrado, PR misc/19810)

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jan 18 11:33:10 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20 (colored)

Merge the nathanw_sa branch.

Revision 1.13.2.6 / (download) - annotate - [select for diffs], Fri Oct 18 02:17:09 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.13.2.5: +60 -38 lines
Diff to previous 1.13.2.5 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Catch up to -current.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 1 18:10:45 2002 UTC (21 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.19: +61 -39 lines
Diff to previous 1.19 (colored)

New sentence, new line. From Robert Elz.

Revision 1.13.2.5 / (download) - annotate - [select for diffs], Thu Apr 25 04:01:46 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.13.2.4: +5 -5 lines
Diff to previous 1.13.2.4 (colored) to branchpoint 1.13 (colored)

Catch up to -current.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Apr 6 04:07:13 2002 UTC (22 years ago) by nathanw
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

The PT_IO operations are named PIOD_{READ,WRITE}_{I,D}, not
PIOD_OP_{READ,WRITE}_{I,D}.

Revision 1.13.2.4 / (download) - annotate - [select for diffs], Fri Mar 22 20:42:42 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.13.2.3: +55 -1 lines
Diff to previous 1.13.2.3 (colored) to branchpoint 1.13 (colored)

Catch up to -current.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 17 17:14:58 2002 UTC (22 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.17: +55 -1 lines
Diff to previous 1.17 (colored)

Document PT_IO.

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Fri Mar 8 21:36:34 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.13.2.2: +3 -3 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 8 01:28:20 2002 UTC (22 years, 2 months ago) by ross
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Generate <>& symbolically. I'm avoiding .../dist/... directories for now.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Mon Jan 28 20:51:30 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.13.2.1: +3 -1 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored)

Catch up to -current.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Jan 14 15:19:44 2002 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-4
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pull up revision 1.16 (requested by he):
  Fix a ptrace/execve race condition which could be used to modify
  the child process' image during execve.  This would be a security
  issue due to setuid programs.

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Sat Jan 12 01:03:32 2002 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.10.4.1: +3 -1 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Pull up revision 1.16 (requested by christos):
  Fix a ptrace/execve race condition which could be used to modify
  the child process' image during execve.  This would be a security
  issue due to setuid programs.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 11 21:17:30 2002 UTC (22 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

document that ptrace() will return EAGAIN if the process that we are trying
to ptrace is currently in execve().

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Oct 8 20:22:01 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.13: +3 -5 lines
Diff to previous 1.13 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Sep 16 02:13:30 2001 UTC (22 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.14: +2 -4 lines
Diff to previous 1.14 (colored)

Sort sections, sort SEE ALSO, punctuation and miscellanous fixes.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Sep 16 01:39:02 2001 UTC (22 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Boring whitespace fixes.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Sep 27 22:31:43 2000 UTC (23 years, 6 months ago) by nathanw
Branch: MAIN
CVS Tags: kqueue-base, kqueue
Branch point for: nathanw_sa
Changes since 1.12: +10 -6 lines
Diff to previous 1.12 (colored)

Note that we do support single-stepping, as a machine-dependant feature.
Don't be SPARC-specific about what features we support. Document how
to determine which requests are supported.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 24 07:34:15 2000 UTC (23 years, 6 months ago) by erh
Branch: MAIN
Changes since 1.11: +5 -4 lines
Diff to previous 1.11 (colored)

Mention additional restriction on ptrace: you can't ptrace system processes since the assumptions made for normal processes don't always hold (such as p_pptr is non-NULL).

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Sun Jul 30 09:39:50 2000 UTC (23 years, 8 months ago) by jdolecek
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

pullup rev.1.11 from trunk (approved by thorpej):
PT_DETACH treats addr & data the same way as PT_CONTINUE, actually

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 27 21:40:09 2000 UTC (23 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

parameters addr & data are actually treated same way
for PT_DETACH and PT_CONTINUE - the only difference between them is that
the child is detached from the parent for PT_DETACH

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:50 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.8: +6 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pull up to last week's -current.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 2 21:42:38 1999 UTC (24 years, 4 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Add a LIBRARY section to system call manual pages.  While it's clear that the
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose
of this section is to provide linkage information.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 6 17:14:55 1999 UTC (24 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored)

Add SEE ALSO section and xref sigaction(2) and signal(7)

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 26 23:37:27 1999 UTC (25 years ago) by sommerfe
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Branch point for: wrstuden-devbsize, netbsd-1-4
Changes since 1.7: +9 -1 lines
Diff to previous 1.7 (colored)

Document new chroot-related restrictions on fchdir, chroot, and ptrace
made possible by the kernel getcwd infrastructure

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 22 19:45:07 1999 UTC (25 years ago) by garbled
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Last of the .Os cleanups.  .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 9 03:58:14 1999 UTC (25 years, 1 month ago) by ross
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

More missing .El's.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 6 05:41:35 1998 UTC (26 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (colored)

macroize BSD, NetBSD, FreeBSD and misc cleanup

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 8 13:45:29 1997 UTC (27 years, 1 month ago) by mouse
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

alternate -> alternative, per PR 2643

Revision 1.3 / (download) - annotate - [select for diffs], Fri Feb 23 01:39:41 1996 UTC (28 years, 1 month ago) by jtc
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, ivory_soap2
Changes since 1.2: +150 -150 lines
Diff to previous 1.2 (colored)

comment out PT_READ_U, PT_WRITE_U, PT_SYSCALL descriptions

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 27 12:35:37 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

merge with lite, keeping most local changes.  clean up Ids

Revision 1.1 / (download) - annotate - [select for diffs], Mon Nov 14 06:26:46 1994 UTC (29 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: ivory_soap

ptrace(2) by der mouse; not checked for accuracy

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>