All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alejandro Colomar (man-pages)" <alx.manpages@gmail.com>
To: Florian Weimer <fweimer@redhat.com>
Cc: linux-man@vger.kernel.org,
	"Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
Subject: Re: [PATCH] sigalstack.2: Mention the need for separate signal stacks for threads
Date: Fri, 21 May 2021 13:11:11 +0200	[thread overview]
Message-ID: <b69d7180-77f6-f7e3-0344-507a26517288@gmail.com> (raw)
In-Reply-To: <87h7iz4vy1.fsf@oldenburg.str.redhat.com>

[CC += mtk]

Hi Florian,

On 5/18/21 10:40 PM, Florian Weimer wrote:
> Signed-off-by: Florian Weimer <fweimer@redhat.com>
> 

I don't understand how this works, so I'll CC Michael so that he merges it.

Thanks,

Alex

> ---
>   man2/sigaltstack.2 | 7 +++++--
>   1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/man2/sigaltstack.2 b/man2/sigaltstack.2
> index 53268ccbe..1510a98ab 100644
> --- a/man2/sigaltstack.2
> +++ b/man2/sigaltstack.2
> @@ -54,7 +54,10 @@ alternate signal stack.
>   An alternate signal stack is used during the
>   execution of a signal handler if the establishment of that handler (see
>   .BR sigaction (2))
> -requested it.
> +requested it using the
> +.B SA_ONSTACK
> +flag.  Each thread that can execute such signal handlers needs its own
> +separate alternate signal stack.
>   .PP
>   The normal sequence of events for using an alternate signal stack
>   is the following:
> @@ -67,7 +70,7 @@ signal stack.
>   Use
>   .BR sigaltstack ()
>   to inform the system of the existence and
> -location of the alternate signal stack.
> +location of the alternate signal stack for the current thread.
>   .TP
>   3.
>   When establishing a signal handler using
> 


-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
Senior SW Engineer; http://www.alejandro-colomar.es/

      reply	other threads:[~2021-05-21 11:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18 20:40 [PATCH] sigalstack.2: Mention the need for separate signal stacks for threads Florian Weimer
2021-05-21 11:11 ` Alejandro Colomar (man-pages) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b69d7180-77f6-f7e3-0344-507a26517288@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=fweimer@redhat.com \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.