From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id 963C03858D37 for ; Thu, 3 Feb 2022 11:31:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 963C03858D37 Received: by mail-wm1-x332.google.com with SMTP id l67-20020a1c2546000000b00353951c3f62so1049715wml.5 for ; Thu, 03 Feb 2022 03:31:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=aCUzaVtJMBUeek4ZUSKlz8bwDoXXAAhUiYWyOS9y8ZY=; b=6O8xWt9C8A8ZuuNn4mQ1oegBpBkA1TYerwFNARgHkLrgId8D6gP8z3ORwXW6aM+At0 ItnCxDVV5f4QB6r+VosSqFso2rX959vsMVRIg+reCku4LaLckxyxDdcdK6EeST/R74eD GqVyyrlZ3Omxwdk2F6+h+4wUEXZnEgDmcMpJIuwBsOYTxqsQBpwEARcgnqwAR3xvqNRR 65iQ0+g8UbAezv2QnZD1M8ZeoL4JdibuCVFDaEmanRVwod/ourRQLp2PHYzEQ1CD23pH uiH2tBCoXuydEIkFkf7XAnqqr805pS3vV7hj06FxjJykWysZH2END0g9gRIUimg/jTjK rYNQ== X-Gm-Message-State: AOAM5319bndS1DdiXUsKDHF6p+eW6be7juxijgQBkXAWdDQNN4LZ6YZB TJowkPj948bTWqi0P4d1XDTzTm84fl0= X-Google-Smtp-Source: ABdhPJx7h3lnZQ9mcziA2dSnCksjl7Rzf1NGj0UeSf2s4bF2QXr2J5Wu7jcUIqctpo9CAaLYqR5Lmg== X-Received: by 2002:a05:600c:3b91:: with SMTP id n17mr9985424wms.116.1643887887591; Thu, 03 Feb 2022 03:31:27 -0800 (PST) Received: from [10.168.10.170] ([170.253.36.171]) by smtp.gmail.com with ESMTPSA id u17sm7594415wmq.41.2022.02.03.03.31.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Feb 2022 03:31:27 -0800 (PST) Message-ID: <49f3ad83-3092-3e62-faef-b960a48cf290@gmail.com> Date: Thu, 3 Feb 2022 12:31:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: [PATCH] manual: SA_ONSTACK is ignored without alternate stack Content-Language: en-US To: Florian Weimer Cc: Ivan Zuboff , libc-alpha@sourceware.org References: <87fsp0wa9p.fsf@oldenburg.str.redhat.com> From: "Alejandro Colomar (man-pages)" In-Reply-To: <87fsp0wa9p.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2022 11:31:30 -0000 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/