aboutsummaryrefslogtreecommitdiff
path: root/sandbox-darwin.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2025-04-09 14:48:56 +0000
committerEd Maste <emaste@FreeBSD.org>2025-04-09 19:45:50 +0000
commit9792a032f0a99557271d6b7f7b0a955386c1fdbe (patch)
treefffe2fb734d6754ae63284d06db6bef8bb091a84 /sandbox-darwin.c
parentde47678f9822eb19289056cce942a43a29e28c06 (diff)
Diffstat (limited to 'sandbox-darwin.c')
-rw-r--r--sandbox-darwin.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sandbox-darwin.c b/sandbox-darwin.c
index 59b4d286eea5..08f4315b035c 100644
--- a/sandbox-darwin.c
+++ b/sandbox-darwin.c
@@ -37,7 +37,7 @@
/* Darwin/OS X sandbox */
struct ssh_sandbox {
- pid_t child_pid;
+ int junk;
};
struct ssh_sandbox *
@@ -51,8 +51,6 @@ ssh_sandbox_init(struct monitor *monitor)
*/
debug3("%s: preparing Darwin sandbox", __func__);
box = xcalloc(1, sizeof(*box));
- box->child_pid = 0;
-
return box;
}
@@ -83,17 +81,4 @@ ssh_sandbox_child(struct ssh_sandbox *box)
__func__, strerror(errno));
}
-void
-ssh_sandbox_parent_finish(struct ssh_sandbox *box)
-{
- free(box);
- debug3("%s: finished", __func__);
-}
-
-void
-ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
-{
- box->child_pid = child_pid;
-}
-
#endif /* SANDBOX_DARWIN */