unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Samuel Thibault <samuel.thibault@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org, bug-hurd@gnu.org
Subject: Re: raise(-1) succeeds for programs linked against libpthread
Date: Tue, 13 Oct 2020 15:57:44 +0200	[thread overview]
Message-ID: <20201013135744.mpizainhz43e5vkl@function> (raw)
In-Reply-To: <87h7qyjl9q.fsf_-_@gnu.org>

Ludovic Courtès, le mar. 13 oct. 2020 15:41:37 +0200, a ecrit:
> ‘pthread_kill’ passes the signal number to ‘_hurd_raise_signal’, which
> assumes it is valid:
[...]
> I suppose that before calling ‘sigaddset’, it should check whether SIGNO
> is within bounds, along the lines of:
> 
>   if (signo < 2 || signo >= _NSIG)
>     return EINVAL;
> 
> Does that make sense?

Probably, yes. Why excluding SIGHUP?

Samuel


  reply	other threads:[~2020-10-13 14:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20201005100249.19995.93553@vcs0.savannah.gnu.org>
2020-10-05 12:24 ` branch master updated: gnu: gettext-minimal: Mark "test-raise" test XFAIL on the Hurd Jan Nieuwenhuizen
2020-10-05 12:27   ` Efraim Flashner
2020-10-12 10:10   ` Ludovic Courtès
2020-10-12 11:37     ` Jan Nieuwenhuizen
2020-10-13 13:41       ` raise(-1) succeeds for programs linked against libpthread Ludovic Courtès
2020-10-13 13:57         ` Samuel Thibault [this message]
2020-10-13 20:41           ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20201013135744.mpizainhz43e5vkl@function \
    --to=samuel.thibault@gnu.org \
    --cc=bug-hurd@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).