mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- (djm) Warn and disable compression on platforms which can't handle both
useprivilegeseparation=yes and compression=yes
This commit is contained in:
parent
444f9fca60
commit
4903eb4b74
@ -5,6 +5,8 @@
|
|||||||
Don't initialise compression buffers when compression=no in sshd_config;
|
Don't initialise compression buffers when compression=no in sshd_config;
|
||||||
ok Niels@
|
ok Niels@
|
||||||
- ID sync for auth-passwd.c
|
- ID sync for auth-passwd.c
|
||||||
|
- (djm) Warn and disable compression on platforms which can't handle both
|
||||||
|
useprivilegeseparation=yes and compression=yes
|
||||||
|
|
||||||
20020620
|
20020620
|
||||||
- (bal) Fixed AIX environment handling, use setpcred() instead of existing
|
- (bal) Fixed AIX environment handling, use setpcred() instead of existing
|
||||||
@ -994,4 +996,4 @@
|
|||||||
- (stevesk) entropy.c: typo in debug message
|
- (stevesk) entropy.c: typo in debug message
|
||||||
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
|
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2236 2002/06/21 06:05:12 djm Exp $
|
$Id: ChangeLog,v 1.2237 2002/06/21 06:20:44 djm Exp $
|
||||||
|
10
servconf.c
10
servconf.c
@ -256,6 +256,16 @@ fill_default_server_options(ServerOptions *options)
|
|||||||
/* Turn privilege separation on by default */
|
/* Turn privilege separation on by default */
|
||||||
if (use_privsep == -1)
|
if (use_privsep == -1)
|
||||||
use_privsep = 1;
|
use_privsep = 1;
|
||||||
|
|
||||||
|
#if !defined(HAVE_MMAP) || !defined(MAP_ANON)
|
||||||
|
if (use_privsep && options->compression == 1) {
|
||||||
|
error("This platform does not support both privilege "
|
||||||
|
"separation and compression");
|
||||||
|
error("Compression disabled");
|
||||||
|
options->compression = 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Keyword tokens. */
|
/* Keyword tokens. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user