From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wDkhOv5mHmKojQAAgWs5BA (envelope-from ) for ; Tue, 01 Mar 2022 19:33:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uK9lN/5mHmJoJAAA9RJhRA (envelope-from ) for ; Tue, 01 Mar 2022 19:33:34 +0100 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 931A6F987 for ; Tue, 1 Mar 2022 19:33:34 +0100 (CET) Received: from localhost ([::1]:46702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nP7JV-0003lY-Pq for larch@yhetil.org; Tue, 01 Mar 2022 13:33:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nP7J0-0003Wi-EX for guix-patches@gnu.org; Tue, 01 Mar 2022 13:33:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44296) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nP7J0-0007S2-66 for guix-patches@gnu.org; Tue, 01 Mar 2022 13:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nP7J0-0004mH-3I for guix-patches@gnu.org; Tue, 01 Mar 2022 13:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54215] [PATCH Shepherd] service: Add #:rlimits parameter to 'exec-command' & co. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Mar 2022 18:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54215 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Attila Lendvai , 54215@debbugs.gnu.org Received: via spool by 54215-submit@debbugs.gnu.org id=B54215.164615957718352 (code B ref 54215); Tue, 01 Mar 2022 18:33:02 +0000 Received: (at 54215) by debbugs.gnu.org; 1 Mar 2022 18:32:57 +0000 Received: from localhost ([127.0.0.1]:38193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nP7Iu-0004lv-OZ for submit@debbugs.gnu.org; Tue, 01 Mar 2022 13:32:56 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:52854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nP7Is-0004ln-Mn for 54215@debbugs.gnu.org; Tue, 01 Mar 2022 13:32:55 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id 16Ys2700F4UW6Th016YteR; Tue, 01 Mar 2022 19:32:53 +0100 Message-ID: From: Maxime Devos Date: Tue, 01 Mar 2022 19:32:52 +0100 In-Reply-To: <48526d32a684a531940b59edcfb016ab81c7d3bb.camel@telenet.be> References: <20220301181242.18384-1-attila@lendvai.name> <48526d32a684a531940b59edcfb016ab81c7d3bb.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-zGK+QbKsAXa7rN0mT8Z6" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1646159573; bh=Z3pEf9dTngE59UQuIxnd5ubUyOXjAk/FjmVL62aZ3KA=; h=Subject:From:To:Date:In-Reply-To:References; b=WYs8APsHxbwnOBcOktBPPjUQrcoc67RIc+nPoeNCQbn45+qyZqzMBIOO7bfEb+5Ea nBp1SMKufxsSP1Xr/5FuPPCklqCFpXJAS8IYVGHbPjvNgu3uL+zYZBLG1nMcFHOz3g gWA/CTCWvzpenCr6VgsQ9tBzspD5qxaUfYoZS4kOroTw0IO1olCi4jNSZ1t6LUl/0c JTisyV6nd98bnVi0ni2kmmXl0oBOgoRjfEkUAfqXIGekiCNl2MGTXEnWQjwj3yDoJx dFwse38dad4Dt0ABhG5iVXELbDhgAHAbayy1wNoPjghXu9g+iSOKMtYxBzB4UXRyTd HXpf5JeB7BqQg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646159614; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Z3pEf9dTngE59UQuIxnd5ubUyOXjAk/FjmVL62aZ3KA=; b=MC70QLUbjDdy/kwFW7jIy11f+Swlth4tO4fUIC5EdOimVVRfeolH/hSQ6LbXE7BQJez7i6 km3i6h5QzZQ0yxbIND1z3mYJIcri93kNbM3LWcJY87VRR+8V7SQjyQ60rgh4vBiSJo21Hl eFa8/Yk+oUU51P69AmM7rx5ks31WjZIxbnyGlNqiqHQJ5tvD7sbozu8Vz3eQ9H1WGyZonf 9amT2XORta8/T+gKwylZEfdQ5KTbd6zQifGM/Qal2EthCqzdWHVamEDGdIPfj7VBTMQKza s6PNh0o6HcbT+5voU9bbIT2aDsUvMK9O7CVRz85AU7mohbOl/7MSPXDWJkRA0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646159614; a=rsa-sha256; cv=none; b=GWjNmrhzYGd5vilPyDp6ui65HhW+ZNPQyKw+RQgK2Mn6cMENRQdVPc+tUWBFSNa9d2JPOD clioHmMhEqcssRWlouLIGKpMxIs0KCuPAyXM+Lz4FAp8dcywuU63rgzbeeUz5G52AKS5bI USbmzUjdNrZpfq4NUwg2lZJy1gdaif2jI1aSaMMbZ3qAYSmgVdIJ8JNNqlWxhJ6GWuZxcP eP4bgUv0vekYf+MqaelPzMRCuEW2HXO0tbE0iunKwGGK+S5D0Kinv6uG3hxjQnKEoyQPKl UMt+CBg4eavRnxUpomxBDQpBv3Q2i/d7ycdqOLp3VlrAbsZKaYLnVPyRD15BCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=WYs8APsH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=WYs8APsH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 931A6F987 X-Spam-Score: 2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8/EKlf0POHmN --=-zGK+QbKsAXa7rN0mT8Z6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maxime Devos schreef op di 01-03-2022 om 19:26 [+0100]: > before forking, to let exception reporting work better.=C2=A0 WYDT? Also, if the (begin (for-each ...) (unblock-signals ...) (exec-command ...)) throws an exception, then it probably it should=C2=A0ignore exception handlers and ignore dynamic-wind, otherwise the listening socket might be deleted (in call-with-server-socket) (*). This can be done by catching all exceptions and calling 'primitive-_exit' in case of an exception. (*) unverified Greetings, Maxime. --=-zGK+QbKsAXa7rN0mT8Z6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYh5m1BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ukhAP9mOdpmBAn/s6acdI/CXa85Hwza IXSDQUJ5dWjDs70VzwEAwgxK8UJt1yi+WtNp+y6XLjB4o+QR8gTTqGkedkRfIAo= =/7az -----END PGP SIGNATURE----- --=-zGK+QbKsAXa7rN0mT8Z6--