From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GHoyCc6+PGGlbQAAgWs5BA (envelope-from ) for ; Sat, 11 Sep 2021 16:35:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id APa5BM6+PGElZwAAbx9fmQ (envelope-from ) for ; Sat, 11 Sep 2021 14:35:58 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CA9181FD60 for ; Sat, 11 Sep 2021 16:35:56 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9DEFA1FB3E; Sat, 11 Sep 2021 10:35:52 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id B56481FA86 for ; Sat, 11 Sep 2021 10:35:49 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 393E85FD5C; Sat, 11 Sep 2021 10:35:49 -0400 (EDT) Received: (nullmailer pid 1240505 invoked by uid 1000); Sat, 11 Sep 2021 14:35:47 -0000 From: David Bremner To: Tomi Ollila , Matt Armstrong , notmuch@notmuchmail.org Subject: Re: Wrap process creating primitives with safe CWD In-Reply-To: <20210829192335.4192305-1-david@tethera.net> References: <87tvgqzq1o.fsf@tethera.net> <20210829192335.4192305-1-david@tethera.net> Date: Sat, 11 Sep 2021 11:35:47 -0300 Message-ID: <87o88zqiws.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: HFYZVIGS24RVGTUQRKEECATIXXT4LDPV X-Message-ID-Hash: HFYZVIGS24RVGTUQRKEECATIXXT4LDPV X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631370957; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=dfMkRe1DmZF/O5d6axSfI/yK4SS2uwhPM6JBwDeYXwM=; b=lIL2QsGZmL+X2D72uEt2J6z2lQKGqBsljG07zJLTmF2aGjsKtflNaioswXbcSY0fK1Df85 diEWjDmyUA8GRChjAJfxybAgSFSOWNqOFo1Uy/xMUBYegMTtRNCs7uyv2Zn3GIRNzAhA3V EOIC0Pmh6ydINGCDGUgAQKgwK/p8t1a4M9KcGYr0TT8RYiK0PPqfZMuaY2YT97dPMb4YJ2 Hnjq9IFY2X2K5nShsXzm+aVmJj27MVDTk6d6r9Vq9Bc/4Um6rk+hzUKkE8avEpnuOobI0S S+6CVwiRWS7eQU1HSPFK2lzaaYWBhVmm6YB87TIcX9eoeObo1k7YJsRVEez8YA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631370957; a=rsa-sha256; cv=none; b=JkZfFBJzPjKSezJKLqcmoAvOyDg1PSIG+Xw534OgM1Mpk6ZwiSyXl8AhdEJVN5OdhK0VTv gY1UC0b/dFsPgfSeq2xRJwTYRPK0ozzqSce9CaEl+TkiJpIoCQ4FvK3C8cMbv4tpcI68LM ZzGciY6AfUD3e457iHKyQ7Cqq+VbLLBan/oPl4OwYMERYvgR7mRRkZuTnQKq6t2ySz03LK 0jBdu58t21hYwh42GFM4DPwrq1I+x4QGakuaytDaTcBdNKQ5q6V/VJyRWWRl5YqTbsaGOX R9KB/qqUv6+bdiVULgrMEmUzJXAgnFGJ0uxQnj32K7jKhn7XwwVeoTZqJwYOuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: CA9181FD60 X-Spam-Score: -2.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: gBTqLrM4DZ0c David Bremner writes: > This a bit more of a change than I was expecting, but there > is nothing very tricky here (except getting the tests for exceptions in emacs working took a bit of effort). > > I decided against trying to normalize the use of process-creating > primitives (e.g. to all make-process or whatever) in this series, but > that seems like it would be a reasonable project. I have applied this series to master. d