Why the limitation on Windows environnment introduced in OpenSSH 4.0?

Peter Stuge peter at stuge.se
Fri Nov 12 06:03:21 EST 2010


kevin gurney wrote:
> Here's the complete description of  *Bug 915* 
> <https://bugzilla.mindrot.org/show_bug.cgi?id=915> - [PATCH] Only copy 
> basic Windows environment:
>
>    So far, the whole environment is copied over to child processes
>    started from sshd when running under Cygwin.  The attached patch
>    restricts this to the basic environment created for all processes.

Ok. CVS doesn't have more information:

$ cvs log -N -r1.13 openbsd-compat/bsd-cygwin_util.c 

RCS file: /cvs/openssh/openbsd-compat/bsd-cygwin_util.c,v
Working file: openbsd-compat/bsd-cygwin_util.c
head: 1.22
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 23;    selected revisions: 1
description:
----------------------------
revision 1.13
date: 2004/08/30 10:42:08;  author: dtucker;  state: Exp;  lines: +52 -2
branches:  1.13.4;
 - (dtucker) [session.c openbsd-compat/bsd-cygwin_util.{c,h}] Bug #915: only
   copy required environment variables on Cygwin.  Patch from vinschen at
   redhat.com, ok djm@
=============================================================================


//Peter


More information about the openssh-unix-dev mailing list