diff options
| author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2019-02-22 17:26:08 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2019-02-25 10:53:22 +0100 |
| commit | e1836e9d9ea079fc163ac561b7d38e9223b7a10d (patch) | |
| tree | de0340b227bb8417f80516f0669dd317c513b38e | |
| parent | e4092d5e51eea453c6dba5337f2cc21f4b06639c (diff) | |
| download | man-pages-e1836e9d9ea079fc163ac561b7d38e9223b7a10d.tar.gz | |
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>
| -rw-r--r-- | man2/sigaction.2 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/man2/sigaction.2 b/man2/sigaction.2 index fc44251059..56d0678d20 100644 --- a/man2/sigaction.2 +++ b/man2/sigaction.2 @@ -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 |
