From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Improving Shepherd Date: Wed, 14 Feb 2018 14:25:50 +0100 Message-ID: <87a7wbu2ht.fsf@gnu.org> References: <871si8bc5g.fsf@zancanaro.id.au> <877errn23f.fsf@zancanaro.id.au> <871shzeg8m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elx4O-0003Mv-4r for guix-devel@gnu.org; Wed, 14 Feb 2018 08:25:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elx4K-0000ot-Vq for guix-devel@gnu.org; Wed, 14 Feb 2018 08:25:56 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42510) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elx4K-0000ny-Q9 for guix-devel@gnu.org; Wed, 14 Feb 2018 08:25:52 -0500 In-Reply-To: (Jelle Licht's message of "Sat, 10 Feb 2018 14:34:21 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Jelle Licht Cc: guix-devel Heya, Jelle Licht skribis: > Good news: signfalfd seems to work as far as I can see. I am not quite su= re > how to make it work consistently with guile ports yet though.=20 Good! What do you mean by =E2=80=9Cwork with guile ports=E2=80=9D though? > To make use of signalfd, one normally masks signals so that these can=20 > handled via signalfd instead of the default signal handlers; any process > forked start out with the same signal mask, so we would need to make > sure to either reset the signal mask for spawned processes.=20 Right, we could do that in =E2=80=98exec-command=E2=80=99, which is the cen= tral place for fork+exec. Well, let us know what to do next, then! :-) Ludo=E2=80=99.