summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2012-05-26 01:44:40 +0100
committerColin Watson <cjwatson@debian.org>2012-05-26 01:44:40 +0100
commit15784261dfaece73ef53f5beb5d3917a95dc1ae4 (patch)
treec39ee6c8ff10efca0e0060d6db07780667832eeb /sshd.c
parent9fce61538243d8d04d6cf174e118df6c4ece351d (diff)
Add a sandbox fallback mechanism, so that behaviour on Linux depends on
whether the running system's kernel has seccomp_filter support, not the build system's kernel (forwarded upstream as https://bugzilla.mindrot.org/show_bug.cgi?id=2011).
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index e032c1720..038fb2a56 100644
--- a/sshd.c
+++ b/sshd.c
@@ -631,7 +631,7 @@ privsep_preauth(Authctxt *authctxt)
631{ 631{
632 int status; 632 int status;
633 pid_t pid; 633 pid_t pid;
634 struct ssh_sandbox *box = NULL; 634 void *box = NULL;
635 635
636 /* Set up unprivileged child process to deal with network data */ 636 /* Set up unprivileged child process to deal with network data */
637 pmonitor = monitor_init(); 637 pmonitor = monitor_init();