Deleted Added
full compact
sandbox-darwin.c (256281) sandbox-darwin.c (262566)
1/*
2 * Copyright (c) 2011 Damien Miller <djm@mindrot.org>
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 26 unchanged lines hidden (view full) ---

35
36/* Darwin/OS X sandbox */
37
38struct ssh_sandbox {
39 pid_t child_pid;
40};
41
42struct ssh_sandbox *
1/*
2 * Copyright (c) 2011 Damien Miller <djm@mindrot.org>
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 26 unchanged lines hidden (view full) ---

35
36/* Darwin/OS X sandbox */
37
38struct ssh_sandbox {
39 pid_t child_pid;
40};
41
42struct ssh_sandbox *
43ssh_sandbox_init(void)
43ssh_sandbox_init(struct monitor *monitor)
44{
45 struct ssh_sandbox *box;
46
47 /*
48 * Strictly, we don't need to maintain any state here but we need
49 * to return non-NULL to satisfy the API.
50 */
51 debug3("%s: preparing Darwin sandbox", __func__);

--- 47 unchanged lines hidden ---
44{
45 struct ssh_sandbox *box;
46
47 /*
48 * Strictly, we don't need to maintain any state here but we need
49 * to return non-NULL to satisfy the API.
50 */
51 debug3("%s: preparing Darwin sandbox", __func__);

--- 47 unchanged lines hidden ---