aboutsummaryrefslogtreecommitdiff
path: root/security/openssh-portable/files/patch-servconf.c
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-02-05 01:40:46 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-02-05 01:40:46 +0000
commit8543a6a9209b05db87930e8fb6b2a77c837c399c (patch)
tree7b0df89598abdf4722e3c3a1ca49c76c2f4f4003 /security/openssh-portable/files/patch-servconf.c
parent08245ad004d944a369b8149f706d89cca4ad94cd (diff)
Notes
Diffstat (limited to 'security/openssh-portable/files/patch-servconf.c')
-rw-r--r--security/openssh-portable/files/patch-servconf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/security/openssh-portable/files/patch-servconf.c b/security/openssh-portable/files/patch-servconf.c
index 55363fb67186..67e45e98a1fe 100644
--- a/security/openssh-portable/files/patch-servconf.c
+++ b/security/openssh-portable/files/patch-servconf.c
@@ -39,3 +39,12 @@
if (options->kbd_interactive_authentication == -1)
options->kbd_interactive_authentication = 0;
if (options->challenge_response_authentication == -1)
+@@ -335,7 +339,7 @@
+ options->version_addendum = xstrdup("");
+ /* Turn privilege separation on by default */
+ if (use_privsep == -1)
+- use_privsep = PRIVSEP_NOSANDBOX;
++ use_privsep = PRIVSEP_ON;
+
+ #ifndef HAVE_MMAP
+ if (use_privsep && options->compression == 1) {