aboutsummaryrefslogtreecommitdiff
path: root/sandbox-rlimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox-rlimit.c')
-rw-r--r--sandbox-rlimit.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sandbox-rlimit.c b/sandbox-rlimit.c
index 26c61d264817..6bb4e56aa283 100644
--- a/sandbox-rlimit.c
+++ b/sandbox-rlimit.c
@@ -37,7 +37,7 @@
/* Minimal sandbox that sets zero nfiles, nprocs and filesize rlimits */
struct ssh_sandbox {
- pid_t child_pid;
+ int junk;
};
struct ssh_sandbox *
@@ -51,8 +51,6 @@ ssh_sandbox_init(struct monitor *monitor)
*/
debug3_f("preparing rlimit sandbox");
box = xcalloc(1, sizeof(*box));
- box->child_pid = 0;
-
return box;
}
@@ -80,17 +78,4 @@ ssh_sandbox_child(struct ssh_sandbox *box)
#endif
}
-void
-ssh_sandbox_parent_finish(struct ssh_sandbox *box)
-{
- free(box);
- debug3_f("finished");
-}
-
-void
-ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
-{
- box->child_pid = child_pid;
-}
-
#endif /* SANDBOX_RLIMIT */