diff options
Diffstat (limited to 'sandbox-tame.c')
-rw-r--r-- | sandbox-tame.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sandbox-tame.c b/sandbox-tame.c index 12c91adea..daa3f3a74 100644 --- a/sandbox-tame.c +++ b/sandbox-tame.c | |||
@@ -15,6 +15,10 @@ | |||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "includes.h" | ||
19 | |||
20 | #ifdef SANDBOX_TAME | ||
21 | |||
18 | #include <sys/types.h> | 22 | #include <sys/types.h> |
19 | #include <sys/ioctl.h> | 23 | #include <sys/ioctl.h> |
20 | #include <sys/syscall.h> | 24 | #include <sys/syscall.h> |
@@ -38,7 +42,7 @@ struct ssh_sandbox { | |||
38 | }; | 42 | }; |
39 | 43 | ||
40 | struct ssh_sandbox * | 44 | struct ssh_sandbox * |
41 | ssh_sandbox_init(void) | 45 | ssh_sandbox_init(struct monitor *m) |
42 | { | 46 | { |
43 | struct ssh_sandbox *box; | 47 | struct ssh_sandbox *box; |
44 | 48 | ||
@@ -69,3 +73,5 @@ ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) | |||
69 | box->child_pid = child_pid; | 73 | box->child_pid = child_pid; |
70 | /* Nothing to do here */ | 74 | /* Nothing to do here */ |
71 | } | 75 | } |
76 | |||
77 | #endif /* SANDBOX_TAME */ | ||