* [PATCH] manual: SA_ONSTACK is ignored without alternate stack
@ 2022-02-03 9:48 Florian Weimer
2022-02-03 11:31 ` Alejandro Colomar (man-pages)
0 siblings, 1 reply; 2+ messages in thread
From: Florian Weimer @ 2022-02-03 9:48 UTC (permalink / raw)
To: libc-alpha; +Cc: Ivan Zuboff, Alejandro Colomar (man-pages)
The current stack is used. No SIGILL is generated.
---
manual/signal.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/manual/signal.texi b/manual/signal.texi
index 8a12baf044..5c2ba7dae6 100644
--- a/manual/signal.texi
+++ b/manual/signal.texi
@@ -1329,7 +1329,7 @@ Setting this flag for a signal other than @code{SIGCHLD} has no effect.
If this flag is set for a particular signal number, the system uses the
signal stack when delivering that kind of signal. @xref{Signal Stack}.
If a signal with this flag arrives and you have not set a signal stack,
-the system terminates the program with @code{SIGILL}.
+the normal user stack is used instead, as if the flag had not been set.
@end deftypevr
@deftypevr Macro int SA_RESTART
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] manual: SA_ONSTACK is ignored without alternate stack
2022-02-03 9:48 [PATCH] manual: SA_ONSTACK is ignored without alternate stack Florian Weimer
@ 2022-02-03 11:31 ` Alejandro Colomar (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar (man-pages) @ 2022-02-03 11:31 UTC (permalink / raw)
To: Florian Weimer; +Cc: Ivan Zuboff, libc-alpha
Hi Florian,
On 2/3/22 10:48, Florian Weimer wrote:
> The current stack is used. No SIGILL is generated.
>
> ---
Thanks for the help!
Alex
> manual/signal.texi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/manual/signal.texi b/manual/signal.texi
> index 8a12baf044..5c2ba7dae6 100644
> --- a/manual/signal.texi
> +++ b/manual/signal.texi
> @@ -1329,7 +1329,7 @@ Setting this flag for a signal other than @code{SIGCHLD} has no effect.
> If this flag is set for a particular signal number, the system uses the
> signal stack when delivering that kind of signal. @xref{Signal Stack}.
> If a signal with this flag arrives and you have not set a signal stack,
> -the system terminates the program with @code{SIGILL}.
> +the normal user stack is used instead, as if the flag had not been set.
> @end deftypevr
>
> @deftypevr Macro int SA_RESTART
>
--
Alejandro Colomar
Linux man-pages comaintainer; http://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-03 11:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-03 9:48 [PATCH] manual: SA_ONSTACK is ignored without alternate stack Florian Weimer
2022-02-03 11:31 ` Alejandro Colomar (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).