delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/04/19/04:21:19

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D3313857703
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1681892432;
bh=3vo0EzpEjlfER7UkFCiOLJ8Ru2Mk+fz4xaHdvU+ZvU0=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=kTLPdp73LjnGtIiUtUGhJuB5yHZt/fcAhbeWRrJLRWjfQqk3gTYvPVPHch8Ez92AM
xyKNo8IC7gUAlCFqi1L/OqsptCfi6hRWVCjSkJJnCHJ6bcPD+EzX9IqdD7CXWYfHlA
nNnpVbMNWg+qwDjuWqHt5wKkNHoAzp5EmbkzRM+g=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F18A53858D1E
Date: Wed, 19 Apr 2023 10:19:55 +0200
To: Eric Blake <eblake AT redhat DOT com>
Subject: Re: posix_spawn facility
Message-ID: <ZD+kK0mMzqCS6Vj0@calimero.vinschen.de>
Mail-Followup-To: Eric Blake <eblake AT redhat DOT com>,
Bruno Haible <bruno AT clisp DOT org>, cygwin AT cygwin DOT com
References: <1752276 DOT 7aRn1RRit1 AT nimes> <ZD5h973pS0tVenD0 AT calimero DOT vinschen DOT de>
<xsn3qmrcprucviwtwoehm5hfgna5nogttqgud3ut6t2craprjp AT 6u5dgtopjfig>
<1741636 DOT G7SD5HZVK5 AT nimes>
<wqmniudnbjv4rdm4wa5a4lxbfoipvmdmsvi646ndaksfgne4s3 AT 4xfdvvdd4g62>
MIME-Version: 1.0
In-Reply-To: <wqmniudnbjv4rdm4wa5a4lxbfoipvmdmsvi646ndaksfgne4s3@4xfdvvdd4g62>
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: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>,
Bruno Haible <bruno AT clisp DOT org>, cygwin AT cygwin DOT com
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 33J8KvZ3021783

On Apr 18 21:39, Eric Blake via Cygwin wrote:
> On Wed, Apr 19, 2023 at 12:10:34AM +0200, Bruno Haible wrote:
> > 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
> 
> POSIX issue now filed as
> https://www.austingroupbugs.net/view.php?id=1674; although we'll have
> to see if my wording is acceptable or if it settles on something a bit
> looser (such as implementation-defined as to whether an sh fallback is
> attempted, rather than outright forbidden).

Thank you!


Corinna

-- 
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