sigaction.2: Mention that libc sets the act.sa_restorer field

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-10-08 14:46:20 +02:00
parent 3ddb841ebb
commit be98c938b5
1 changed files with 13 additions and 0 deletions

View File

@ -961,6 +961,19 @@ See
.BR nptl (7)
for details.
.PP
On architectures where the signal trampoline resides in the C library,
the glibc wrapper function for
.BR sigaction ()
places the address of the trampoline code in the
.I act.sa_restorer
field and sets the
.B SA_RESTORER
flag in the
.IR act.sa_flags
field.
See
.BR sigreturn (2).
.PP
The original Linux system call was named
.BR sigaction ().
However, with the addition of real-time signals in Linux 2.2,