delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/28/10:17:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Sam Edge <sam DOT edgeZZZ AT lineone DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: behaviour of "for (( exp1; exp2; exp3 )); do COMMANDS; done"
Date: Wed, 28 May 2003 15:16:39 +0100
Organization: .
Reply-To: cygwin AT cygwin DOT com
Message-ID: <ckf9dvodf9mj7rkbqv86c6vjm3479ob48j@4ax.com>
References: <20030527120718 DOT GA22030 AT convex DOT org DOT uk> <002901c32427$2e1553e0$78d96f83 AT pomello> <PHENJGDFMJPEBOBLGEMOKENMCBAA DOT peter DOT oosterlynck AT oracle DOT com> <ocj6dvc16hc7e702hhe1dktohpm1306oi6 AT 4ax DOT com> <20030527120718 DOT GA22030 AT convex DOT org DOT uk> <eq29dvgfdunpptfj4ak084g2lfa22as6m1 AT 4ax DOT com> <5 DOT 2 DOT 1 DOT 1 DOT 2 DOT 20030528062212 DOT 01f54ff8 AT pop DOT sonic DOT net>
In-Reply-To: <5.2.1.1.2.20030528062212.01f54ff8@pop.sonic.net>
MIME-Version: 1.0
X-Posting-Agent: Hamster/2.0.0.1
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h4SEHD612162

Randall R Schulz <rschulz AT sonic DOT net> wrote in
<5 DOT 2 DOT 1 DOT 1 DOT 2 DOT 20030528062212 DOT 01f54ff8 AT pop DOT sonic DOT net>
in gmane.os.cygwin on Wed, 28 May 2003 06:30:47 -0700:

> The interpretation of #! lines is in the kernel (or, hereabout, 
> Cygwin1.dll, a kernel by any other name), just as the kernel would how 
> to handle a binary executable by examining its header.

* man execve *

Well, well. I knew that some unices had to be doing this because they
allowed suid scripts. But I thought the behaviour had been phased out
of newer versions. (Because Linux and the like don't allow suid
scripts, I assumed that this whole script-handling behaviour had been
moved out of the kernel.)

I learn something new every day. Thanks. :-)

Regards,
-- 
Sam Edge

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

- Raw text -


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