sigaction.2: Describe obsolete usage of struct sigcontext as signal handler argument

* man2/sigaction.2 (.SS Undocumented): Provide information about
  relation between the second argument of sa_handler and
  uc_mcontext field of the struct ucontext structure.

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Eugene Syromyatnikov 2019-02-22 17:26:08 +01:00 committed by Michael Kerrisk
parent e4092d5e51
commit e1836e9d9e
1 changed files with 8 additions and 1 deletions

View File

@ -1009,7 +1009,14 @@ it was also possible to get some additional information,
namely by using a
.I sa_handler
with a second argument of type
.IR "struct sigcontext".
.I "struct sigcontext"
(it is the same structure as the one that is passed in the
.I uc_mcontext
field of the
.I struct ucontext
structure, pointer to which is passed in the third argument of
.I sa_sigaction
handler).
See the relevant Linux kernel sources for details.
This use is obsolete now.
.SH BUGS