delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/04/18/18:11:40

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9FD473857835
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1681855855;
bh=5M06+GAj+wo/S/SYddv7stGUJt8mnhptf1KxW+z7kMI=;
h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=ckN+SAckz1r5KoWAEpHKKPqU2YsVd1zvyVGE+U6ju6YkvE7kvQOXdJgocGm0/GrO3
YZ3EN+7gwl2HZCBfa1WUDtooHUzNo89TEaLoCusfe2UB++cdEboG5QDqwAmkUz4kuT
eNDqRweUPv4hOY3dq8rNaPnMvtFov88vWHpVjgng=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6B37D3858D1E
ARC-Seal: i=1; a=rsa-sha256; t=1681855835; cv=none;
d=strato.com; s=strato-dkim-0002;
b=duPqfJu9stMlWmWYFa5OZbZkgZb4Wexlnsju05MGCBvnCNmUH6kcmuVNnOHQWqW3bd
7BrwOQMAUjWIM2CZ+YKGQ3IglD6ohHmQfw1SQGaaJIGAgOKkewE9/Bl9XpaKDiuy8k5V
g57PSo7VmBQf3FbtdZ9I9/GZYG5F2w6ejenqRmlnuP2aTohH+oFe1UDxmY1ZM/xYVKZw
//aPcDNMCcMGk3Mq4yhMWhfpwXvJX/fmcxToVBAwS18O7E/rkH2TlX4h/e/40fO0rHCX
E2bdaRU1Z0scWrUMczqYsjn4yY+OrTeMLLV9ResQRiQO8aiD5XNFxppJBRqAdaGYUdl6
JZsg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1681855835;
s=strato-dkim-0002; d=strato.com;
h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From:
Subject:Sender;
bh=7XPjtOxjzzH0g2L9fWUbdKQUrEy/wIRPmIHlnM1EvB8=;
b=GmjVXY6quxXmlag5dW55dXw8inbNCU7Ig95JCHl6dWe/mgafg9KeRlsMnRREkGp5pg
DA+VpKv/ImbyeR1UvNXQxuMlv+Sx6hGfzzRx8AGgQ/bP95NBa1lozVEotxxbsGirxLyM
RD7xEYNaxf3B5oyiPa0XcVqdqLusvys+1Y8mUdyIVKPfdHZX5yzYEtI8dQ9/UnOoN340
v/oQmjOV6CWIlisvMA1bcJjruW356rRdIqF5nLzkXqnN3Z8gEf3BHiDLlIVBJZULTHWj
rot/h3pbejVlvmOCohdbgsFPgYg3cVp1dDhDpaKXzo86A22XbPZ8FET0DGRGZ+E0c+R0
a9UA==
ARC-Authentication-Results: i=1; strato.com;
arc=none;
dkim=none
X-RZG-CLASS-ID: mo00
X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOT2vN+j99710EKugYHXkRHprwZvw=="
To: cygwin AT cygwin DOT com, Eric Blake <eblake AT redhat DOT com>
Subject: Re: posix_spawn facility
Date: Wed, 19 Apr 2023 00:10:34 +0200
Message-ID: <1741636.G7SD5HZVK5@nimes>
In-Reply-To: <xsn3qmrcprucviwtwoehm5hfgna5nogttqgud3ut6t2craprjp@6u5dgtopjfig>
References: <1752276 DOT 7aRn1RRit1 AT nimes> <ZD5h973pS0tVenD0 AT calimero DOT vinschen DOT de>
<xsn3qmrcprucviwtwoehm5hfgna5nogttqgud3ut6t2craprjp AT 6u5dgtopjfig>
MIME-Version: 1.0
X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,
SPF_HELO_PASS, SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Bruno Haible via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Bruno Haible <bruno AT clisp DOT org>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 33IMBIJH000457

Eric Blake wrote:
> we now have implementations in the wild that differ in behavior, and
> use security as a reason for the divergence, it is worth getting that
> clarified in POSIX.  I'll file a bug against POSIX shortly

For the reference, the systems that return ENOEXEC for posix_spawnp
attempting to execute a script without #! marker are:
  - glibc/Linux ≥ 2.15
  - glibc/Hurd ≥ 2.33 (commit 13adfa34aff03fd9f1c1612b537a0d736ddb6c2b)
  - musl libc

Bruno




-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019