From 7ef57ea1a0c67fec0a4df2f37e71c6a2deb75d10 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 25 Feb 2019 11:05:50 +0100 Subject: [PATCH] sigaction.2: Minot tweaks to Eugene Syromyatnikov's patch Signed-off-by: Michael Kerrisk --- man2/sigaction.2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/man2/sigaction.2 b/man2/sigaction.2 index 56d0678d2..45543ce54 100644 --- a/man2/sigaction.2 +++ b/man2/sigaction.2 @@ -1005,18 +1005,18 @@ when the kernel provides it. .SS Undocumented Before the introduction of .BR SA_SIGINFO , -it was also possible to get some additional information, -namely by using a +it was also possible to get some additional information about the signal. +This was done by providing an .I sa_handler -with a second argument of type -.I "struct sigcontext" -(it is the same structure as the one that is passed in the +signal handler with a second argument of type +.IR "struct sigcontext" , +which 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 ucontext +structure that is passed (via a pointer) in the third argument of the .I sa_sigaction -handler). +handler. See the relevant Linux kernel sources for details. This use is obsolete now. .SH BUGS