manual: SA_ONSTACK is ignored without alternate stack

Message ID 87fsp0wa9p.fsf@oldenburg.str.redhat.com
State Committed
Commit ca7334d34b7811fc261c84c498fd4a19acd70530
Headers
Series manual: SA_ONSTACK is ignored without alternate stack |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Florian Weimer Feb. 3, 2022, 9:48 a.m. UTC
  The current stack is used.  No SIGILL is generated.

---
 manual/signal.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Alejandro Colomar Feb. 3, 2022, 11:31 a.m. UTC | #1
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
>
  

Patch

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