delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/27/21:35:27

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
Date: Sat, 27 Jul 2002 21:35:30 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Future ntsec-detection problem in sshd (Re: winsup/cygwin ChangeLog security.cc)
Message-ID: <20020728013530.GC11185@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020725170413 DOT 3469 DOT qmail AT sources DOT redhat DOT com> <005d01c23417$27a656e0$0100a8c0 AT wdg DOT uk DOT ibm DOT com> <20020726102233 DOT V3921 AT cygbert DOT vinschen DOT de> <021301c234eb$a8d6bf00$0100a8c0 AT wdg DOT uk DOT ibm DOT com> <20020727111609 DOT O3921 AT cygbert DOT vinschen DOT de> <013001c23570$993c7280$0100a8c0 AT wdg DOT uk DOT ibm DOT com> <20020727161323 DOT GH16216 AT redhat DOT com> <1027817120 DOT 9602 DOT 34 DOT camel AT lifelesswks>
Mime-Version: 1.0
In-Reply-To: <1027817120.9602.34.camel@lifelesswks>
User-Agent: Mutt/1.3.23.1i

On Sun, Jul 28, 2002 at 10:45:20AM +1000, Robert Collins wrote:
>On Sun, 2002-07-28 at 02:13, Christopher Faylor wrote:
>
>> Breaking backwards compatibility gratuitously is not desirable.
>> 
>> In this case however, this could be implemented as a "cygwin_internal" function
>> anyway, which would mean not having to worry about loading the function.
>> 
>> However, checking the cygwin api version should be sufficient too.  That's
>> what it is there for.
>
>What about a /proc entry?

It's already available via uname() and via /proc/version:

  $ uname -r
  1.3.13(0.55/3/2)
	 ^^^^
  $ cat /proc/version
  CYGWIN_NT-5.0 1.3.13(0.55/3/2) 2002-07-26 15:57
		       ^^^^
cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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