From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: master 2c79a8f 2/2: Use posix_spawn if possible. Date: Thu, 31 Dec 2020 21:14:27 +0100 Message-ID: References: <835z4qnhyx.fsf@gnu.org> <83y2hklqhg.fsf@gnu.org> <83eej5hliv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19047"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 31 21:15:49 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kv4MP-0004r1-3w for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Dec 2020 21:15:49 +0100 Original-Received: from localhost ([::1]:50252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kv4MO-0007Qq-3E for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Dec 2020 15:15:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kv4LK-0006sF-0q for emacs-devel@gnu.org; Thu, 31 Dec 2020 15:14:42 -0500 Original-Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]:37490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kv4LI-00022p-AY; Thu, 31 Dec 2020 15:14:41 -0500 Original-Received: by mail-oi1-x236.google.com with SMTP id l207so22787933oib.4; Thu, 31 Dec 2020 12:14:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yILr+Zpt8wg+l43LXQh/rSnfFoUPCtMfP6IWJ9JRUpI=; b=Qn/rEz5ZbGvze8TeWjE4vgNvu+U6p2ezBWvwN+ZwN98HM8P+MaixTXCtfP5JyTZvpy 6ZA/JXoLSU+Ku5wcz+MQu/gjrkeNrwSpHKMsXHu39x5y+XRACLSmla7WIfaxFZWgqYZF Md4wlwT4BBLfIXzn1G7gACeeiXIcwzmxwHBFoaMKslkg7SrvcgStSqu8XszboEFILm1b ag6D1uVpdBqlOHIK16NvAbhEKGgqFMidJBwd6klm/M24h6S9+nNgtcjMaStx5o+dD/hN uys2/W7e6CTBw8C1LMESk/YcyetlUcrMs82AFNjHN2YI1qeokIcwNksnhX7mbTUu3FYl yUew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yILr+Zpt8wg+l43LXQh/rSnfFoUPCtMfP6IWJ9JRUpI=; b=Ivwha5wixnpV8JVA1ZPONDQH9EDDrWSmKgsPev//ZC20IUjXP2KRMGFVZ3PZsQLk0/ h6f01VuAx1Uwmve7XdPS2v8o94+fJh6Qenhp2nzd8nrZsKH+QE1uxJSYIgElkromNH7y cpXFe/QXOFiMbmrwv0Lj10xpAU2QaBN2Qz6+rjfQD1wuua2i4MBSbjfi6fPpFZHLxCbR AX3dAzXwEgX8ZEcDCZr5OqaRMo6KvCTpQlwSrgFoHx4ksJ1Qt5eSnCy4e3iBGR5YBN39 Q9fhc09vQ0MgEKUNPHouqBEgp4bpmIIPRp0GovgKd96pI4HNF0MebEqX7TuFg6buyEda CMPQ== X-Gm-Message-State: AOAM532TQEzlGAveRhfJxfkOwrN/BDEGwukxB164W+PjD0qAdHAxm//k lvLMACvmEAAbbPRPITayQnknKLIxf9JZzkRpWly2N9hv+VE= X-Google-Smtp-Source: ABdhPJyhcv2Otf6T9xc8GN2aRK4Ro5hSiBj+lK6tsYGnW5SlLeIdnCSoTSar/2rGFJG3c2NFrZeazQPSwp22sqWi+bs= X-Received: by 2002:a54:4881:: with SMTP id r1mr8802496oic.9.1609445678571; Thu, 31 Dec 2020 12:14:38 -0800 (PST) In-Reply-To: <83eej5hliv.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::236; envelope-from=p.stephani2@gmail.com; helo=mail-oi1-x236.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262201 Archived-At: Am Do., 31. Dez. 2020 um 19:35 Uhr schrieb Eli Zaretskii : > > > From: Philipp Stephani > > Date: Thu, 31 Dec 2020 18:50:48 +0100 > > Cc: Emacs developers > > > > > I think that specific problem isn't relevant (we don't change the > > > stack size between fork and exec), but the fix to > > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24869 (ironically > > > reported by me) is. > > > As indicated in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24869#8, > > > it might be better to solve the underlying problem in a different way > > > that doesn't involve changing resource limits (changing a > > > process-global setting is somewhat fishy anyway, especially with > > > modules). Essentially we just need to make sure to not add file > > > descriptors larger than FD_SETSIZE to an fd_set. > > > > I've now done this with commit > > 8bc85d46cc9214a531f2d2ecb3f5fb48af8105a6. > > On which branch? master (this is only tangentially related to the posix-spawn discussion).