- djm@cvs.openbsd.org 2011/06/23 09:34:13
[sshd.c ssh-sandbox.h sandbox.h sandbox-rlimit.c sandbox-systrace.c]
[sandbox-null.c]
rename sandbox.h => ssh-sandbox.h to make things easier for portable
diff --git a/ChangeLog b/ChangeLog
index 9a67242..f9f9efc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,10 @@
[channels.c channels.h clientloop.c clientloop.h mux.c ssh.c]
hook up a channel confirm callback to warn the user then requested X11
forwarding was refused by the server; ok markus@
+ - djm@cvs.openbsd.org 2011/06/23 09:34:13
+ [sshd.c ssh-sandbox.h sandbox.h sandbox-rlimit.c sandbox-systrace.c]
+ [sandbox-null.c]
+ rename sandbox.h => ssh-sandbox.h to make things easier for portable
- (djm) [sandbox-null.c] Dummy sandbox for platforms that don't support
setrlimit(2)
diff --git a/sandbox-null.c b/sandbox-null.c
index eadaee2..29fa966 100644
--- a/sandbox-null.c
+++ b/sandbox-null.c
@@ -1,3 +1,4 @@
+/* $OpenBSD$ */
/*
* Copyright (c) 2011 Damien Miller <djm@mindrot.org>
*
@@ -28,7 +29,7 @@
#include <unistd.h>
#include "log.h"
-#include "sandbox.h"
+#include "ssh-sandbox.h"
#include "xmalloc.h"
/* dummy sandbox */
diff --git a/sandbox-rlimit.c b/sandbox-rlimit.c
index 4d832fc..761e928 100644
--- a/sandbox-rlimit.c
+++ b/sandbox-rlimit.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: sandbox-rlimit.c,v 1.3 2011/06/23 09:34:13 djm Exp $ */
/*
* Copyright (c) 2011 Damien Miller <djm@mindrot.org>
*
@@ -31,7 +32,7 @@
#include <unistd.h>
#include "log.h"
-#include "sandbox.h"
+#include "ssh-sandbox.h"
#include "xmalloc.h"
/* Minimal sandbox that sets zero nfiles, nprocs and filesize rlimits */
diff --git a/sandbox-systrace.c b/sandbox-systrace.c
index 5d0b7fb..8058b7d 100644
--- a/sandbox-systrace.c
+++ b/sandbox-systrace.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: sandbox-systrace.c,v 1.3 2011/06/23 09:34:13 djm Exp $ */
/*
* Copyright (c) 2011 Damien Miller <djm@mindrot.org>
*
@@ -37,7 +38,7 @@
#include "atomicio.h"
#include "log.h"
-#include "sandbox.h"
+#include "ssh-sandbox.h"
#include "xmalloc.h"
static const int preauth_policy[] = {
diff --git a/sandbox.h b/ssh-sandbox.h
old mode 100755
new mode 100644
similarity index 93%
rename from sandbox.h
rename to ssh-sandbox.h
index 5fe3064..dfecd5a
--- a/sandbox.h
+++ b/ssh-sandbox.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sandbox.h,v 1.2 2011/06/22 22:14:05 djm Exp $ */
+/* $OpenBSD: ssh-sandbox.h,v 1.1 2011/06/23 09:34:13 djm Exp $ */
/*
* Copyright (c) 2011 Damien Miller <djm@mindrot.org>
*
diff --git a/sshd.c b/sshd.c
index bebcb9b..cc10395 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.384 2011/06/22 21:57:01 djm Exp $ */
+/* $OpenBSD: sshd.c,v 1.385 2011/06/23 09:34:13 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -118,7 +118,7 @@
#endif
#include "monitor_wrap.h"
#include "roaming.h"
-#include "sandbox.h"
+#include "ssh-sandbox.h"
#include "version.h"
#ifdef LIBWRAP