From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IISnNlS6hV/WbQAA0tVLHw (envelope-from ) for ; Tue, 13 Oct 2020 14:31:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uLBuMlS6hV9nUgAAB5/wlQ (envelope-from ) for ; Tue, 13 Oct 2020 14:31:48 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7BA5294042A for ; Tue, 13 Oct 2020 14:31:48 +0000 (UTC) Received: from localhost ([::1]:43592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSKpQ-0004N5-T1 for larch@yhetil.org; Tue, 13 Oct 2020 09:59:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSKoI-00031c-Vw; Tue, 13 Oct 2020 09:57:50 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:43697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSKoG-0004tx-IP; Tue, 13 Oct 2020 09:57:50 -0400 X-IronPort-AV: E=Sophos;i="5.77,370,1596492000"; d="scan'208";a="361663654" Received: from unknown (HELO function) ([193.50.111.115]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Oct 2020 15:57:44 +0200 Received: from samy by function with local (Exim 4.94) (envelope-from ) id 1kSKoC-001jfC-2p; Tue, 13 Oct 2020 15:57:44 +0200 Date: Tue, 13 Oct 2020 15:57:44 +0200 From: Samuel Thibault To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: raise(-1) succeeds for programs linked against libpthread Message-ID: <20201013135744.mpizainhz43e5vkl@function> Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Jan Nieuwenhuizen , guix-devel@gnu.org, bug-hurd@gnu.org References: <20201005100249.19995.93553@vcs0.savannah.gnu.org> <87h7r82740.fsf@gnu.org> <87sgaju53p.fsf@gnu.org> <87tuuzd6aq.fsf@gnu.org> <87h7qyjl9q.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87h7qyjl9q.fsf_-_@gnu.org> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) Received-SPF: softfail client-ip=192.134.164.104; envelope-from=samuel.thibault@gnu.org; helo=mail3-relais-sop.national.inria.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/13 09:57:44 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -61 X-Spam_score: -6.2 X-Spam_bar: ------ X-Spam_report: (-6.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, bug-hurd@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: 6NOez8NqBs4V 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