diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
commit | 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 (patch) | |
tree | 3ee7a3ec64525911fa865bb984c86d997d855527 /man2/sigreturn.2 | |
parent | Adding debian version 6.05.01-1. (diff) | |
download | manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.tar.xz manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.zip |
Merging upstream version 6.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man2/sigreturn.2')
-rw-r--r-- | man2/sigreturn.2 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man2/sigreturn.2 b/man2/sigreturn.2 index 03ce952..dd0935a 100644 --- a/man2/sigreturn.2 +++ b/man2/sigreturn.2 @@ -7,7 +7,7 @@ .\" 2008-06-26, mtk, added some more detail on the work done by sigreturn() .\" 2014-12-05, mtk, rewrote all of the rest of the original page .\" -.TH sigreturn 2 2023-03-30 "Linux man-pages 6.05.01" +.TH sigreturn 2 2023-10-31 "Linux man-pages 6.7" .SH NAME sigreturn, rt_sigreturn \- return from signal handler and cleanup stack frame .SH LIBRARY @@ -27,14 +27,14 @@ it creates a new frame on the user-space stack where it saves various pieces of process context (processor status word, registers, signal mask, and signal stack settings). .\" See arch/x86/kernel/signal.c::__setup_frame() [in Linux 3.17 source code] -.PP +.P The kernel also arranges that, during the transition back to user mode, the signal handler is called, and that, upon return from the handler, control passes to a piece of user-space code commonly called the "signal trampoline". The signal trampoline code in turn calls .BR sigreturn (). -.PP +.P This .BR sigreturn () call undoes everything that was @@ -82,7 +82,7 @@ vary depending on the architecture. takes no arguments, since all of the information that it requires is available in the stack frame that was previously created by the kernel on the user-space stack.) -.PP +.P Once upon a time, UNIX systems placed the signal trampoline code onto the user stack. Nowadays, pages of the user stack are protected so as to @@ -107,7 +107,7 @@ and sets the flag in the .I sa_flags field. -.PP +.P The saved process context information is placed in a .I ucontext_t structure (see @@ -118,7 +118,7 @@ as the third argument of a handler established via with the .B SA_SIGINFO flag. -.PP +.P On some other UNIX systems, the operation of the signal trampoline differs a little. In particular, on some systems, upon transitioning back to user mode, |