[PATCH] sigaction.2: describe the usage of struct sigcontext

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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@xxxxxxxxx>
---
 man2/sigaction.2 | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/man2/sigaction.2 b/man2/sigaction.2
index fc44251..56d0678 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
-- 
2.1.4




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux