This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Future ntsec-detection problem in sshd (Re: winsup/cygwin ChangeLog security.cc)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]