- (djm) [openbsd-compat/bsd-cygwin_util.c] Reduce the set of environment

variables copied into sshd child processes. From vinschen AT redhat.com
This commit is contained in:
Damien Miller 2010-02-28 03:29:33 +11:00
parent 09a24db2d7
commit d05951fcee
2 changed files with 3 additions and 10 deletions

View File

@ -1,5 +1,7 @@
20100227 20100227
- (djm) [ssh-pkcs11-helper.c ] Ensure RNG is initialised and seeded - (djm) [ssh-pkcs11-helper.c ] Ensure RNG is initialised and seeded
- (djm) [openbsd-compat/bsd-cygwin_util.c] Reduce the set of environment
variables copied into sshd child processes. From vinschen AT redhat.com
20100226 20100226
- OpenBSD CVS Sync - OpenBSD CVS Sync

View File

@ -85,23 +85,14 @@ static struct wenv {
size_t namelen; size_t namelen;
} wenv_arr[] = { } wenv_arr[] = {
{ NL("ALLUSERSPROFILE=") }, { NL("ALLUSERSPROFILE=") },
{ NL("COMMONPROGRAMFILES=") },
{ NL("COMPUTERNAME=") }, { NL("COMPUTERNAME=") },
{ NL("COMSPEC=") }, { NL("COMSPEC=") },
{ NL("CYGWIN=") }, { NL("CYGWIN=") },
{ NL("NUMBER_OF_PROCESSORS=") },
{ NL("OS=") }, { NL("OS=") },
{ NL("PATH=") }, { NL("PATH=") },
{ NL("PATHEXT=") }, { NL("PATHEXT=") },
{ NL("PROCESSOR_ARCHITECTURE=") },
{ NL("PROCESSOR_IDENTIFIER=") },
{ NL("PROCESSOR_LEVEL=") },
{ NL("PROCESSOR_REVISION=") },
{ NL("PROGRAMFILES=") },
{ NL("SYSTEMDRIVE=") }, { NL("SYSTEMDRIVE=") },
{ NL("SYSTEMROOT=") }, { NL("SYSTEMROOT=") },
{ NL("TMP=") },
{ NL("TEMP=") },
{ NL("WINDIR=") } { NL("WINDIR=") }
}; };