Commit Graph

31 Commits

Author SHA1 Message Date
kamil
1fa976076c Document TRAP_SCE and TRAP_SCX in siginfo(2) 2019-05-25 05:11:14 +00:00
uwe
ab5491b594 INTRV is INT-RV - integer return value (not INTR-V, interrupt vector) :) 2018-02-27 10:09:42 +00:00
uwe
5ff411e65c Use tagged list. 2018-02-25 17:45:40 +00:00
uwe
a2bbeaadcd Flags are .Fl not .Ar 2018-02-25 17:37:05 +00:00
kamil
b5d237a157 Document _UC_MACHINE_*() in ucontext(2)
Document:
 - _UC_MACHINE_SP()
 - _UC_MACHINE_FP()
 - _UC_MACHINE_PC()
 - _UC_MACHINE_INTRV()
 - _UC_MACHINE_SET_PC()

Document fragileness of the frame-pointer accessor.

Sponsored by <The NetBSD Foundation>
2018-02-25 16:53:51 +00:00
kamil
e883110f17 Add new si_code TRAP_DBREG
It replaces previous TRAP_HWWPT and is designed to be used for debug
register traps (both watchpoints and breakpoints).

TRAP_HWWPT wasn't documented in siginfo(2) neither noted in doc/CHANGES -
- document it and add new entry in CHANGES. This move is a step towards
switch the watchpoint ptrace(2) api to PT_*DBREGS.

This code was introduced recently and has no impact on stable releases.

Sponsored by <The NetBSD Foundation>
2017-02-17 01:14:31 +00:00
kamil
6b5f5581b3 Document TRAP_LWP in siginfo(2)
TRAP_LWP - process lwp (thread) traps

Sponsored by <The NetBSD Foundation>
2017-01-14 06:55:40 +00:00
kamil
189ca4b8c7 Document TRAP_CHLD in siginfo(2)
The SIGTRAP signal is thrown from the kernel if EVENT_MASK (ptrace_event)
enables PTRACE_FORK. This new si_code helps debuggers to distinguish the
exact source of signal delivered for a debugger.

Another purpose of TRAP_CHLD is to retain the same behavior inside the
NetBSD kernel for process child traps and have an interface to monitor it.

Retrieving exact event and extended properties of process child trap is
available with PT_GET_PROCESS_STATE.

There is no behavior change for existing software.

This si_code value is NetBSD extension.

Sponsored by <The NetBSD Foundation>
2017-01-10 00:51:56 +00:00
wiz
e7a30ec40c Sort a bit. 2017-01-08 13:53:28 +00:00
kamil
8780553feb Document that TRAP_EXEC is .Nx extension and update .Sh HISTORY for it
Sponsored by <The NetBSD Foundation>
2017-01-07 06:01:20 +00:00
kamil
d152fc3170 Document TRAP_EXEC in SIGRAP in siginfo(2)
TRAP_EXEC - Process exec trap

This signal is emitted on exec() when a process is controlled by a
debugger.

Sponsored by <The NetBSD Foundation>
2017-01-07 01:22:12 +00:00
wiz
96932fac5b Fix typos. 2016-12-29 11:50:44 +00:00
kamil
66ee2fea73 Bump date for siginfo(2) and document SI_LWP and SI_NOINFO as .Nx extension
Sponsored by <The NetBSD Foundation>
2016-12-28 21:19:06 +00:00
kamil
b87a69e6d0 Document SI_MESGQ in siginfo(2)
SI_MESGQ
  The signal was generated because of the arrival of a message
  on an empty message queue.

This code was commented out since inception of this manual page (originally
located in siginfo(5)).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:41:55 +00:00
kamil
29480d5842 Document SI_QUEUE in siginfo(2)
SI_QUEUE
  The signal was generated via sigqueue(2).

This code was commented out since inception of this manual page (originally
located in siginfo(5)).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:34:36 +00:00
kamil
588fa8e476 Document SI_LWP in siginfo(2)
SI_LWP
  The signal was generated via _lwp_kill(2).

Sponsored by <The NetBSD Foundation>
2016-12-28 20:06:00 +00:00
kamil
16c81e612e Document SI_NOINFO in siginfo(2)
SI_NOINFO
  The signal was generated without specifc info available.

Sponsored by <The NetBSD Foundation>
2016-12-28 20:00:15 +00:00
kamil
cd2d2d0c2e Rename SIGPOLL signal to SIGIO in documentation siginfo(2)
SIGPOLL is absent on NetBSD, it's emulated in linux_compat(8).
2016-12-27 01:44:06 +00:00
wiz
679837e910 I do like the idea of April 43, 2016, but it's just not standardized enough. 2016-04-04 20:43:31 +00:00
christos
246c8910b2 Fix description of si_status. 2016-04-04 17:29:04 +00:00
riastradh
90d6db6dee Fix some typos and make style more consistent. 2015-02-27 15:21:54 +00:00
jym
e1a27e5df5 Note that si_addr may be inaccurate on certain architectures.
Example: i386/amd64 alignement fault can drive to SIGBUS (when configured
so by process), however the faulty address returned by the CPU is not
reliable.

Bump date.
2012-04-23 17:44:39 +00:00
christos
db136ffc75 fix typo. 2010-07-26 12:50:52 +00:00
jruoho
c329b28a22 Properly mark the standard that "deprecated" all of these. 2010-04-29 06:07:35 +00:00
jruoho
092ff05778 Note that the ucontext(2) et. al. were first moved from X/OPEN extensions to
the base POSIX-2001 and later marked as obsolete in POSIX-2008.
2010-04-28 14:07:03 +00:00
jruoho
248d65d640 Improvements to markup. 2010-04-28 13:23:02 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
christos
92bc6dbe58 rename si_sigval -> si_value. 2007-05-21 19:42:25 +00:00
wiz
5d1e8b2745 Fix some typos. 2006-02-25 02:28:55 +00:00
pooka
56876e818a .Nm siginfo_t -> .Nm siginfo
Makes the manual page name match the whatis database.

ok from wiz
2005-01-24 13:08:35 +00:00
wiz
538e6e3e1e Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
and fix references.
Per a discussion on source-changes around Sep 14 2003.
2003-10-14 14:59:03 +00:00