diff options
author | Damien Miller <djm@mindrot.org> | 2014-01-17 16:47:04 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-01-17 16:47:04 +1100 |
commit | 868ea1ea1c1bfdbee5dbad78f81999c5983ecf31 (patch) | |
tree | cd0d26dd73bc147951ef9a3aeb967448912e9c4f /ssh-sandbox.h | |
parent | a9d186a8b50d18869a10e9203abf71c83ddb1f79 (diff) |
- (djm) [Makefile.in configure.ac sandbox-capsicum.c sandbox-darwin.c]
[sandbox-null.c sandbox-rlimit.c sandbox-seccomp-filter.c]
[sandbox-systrace.c ssh-sandbox.h sshd.c] Support preauth sandboxing
using the Capsicum API introduced in FreeBSD 10. Patch by Dag-Erling
Smorgrav, updated by Loganaden Velvindron @ AfriNIC; ok dtucker@
Diffstat (limited to 'ssh-sandbox.h')
-rw-r--r-- | ssh-sandbox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh-sandbox.h b/ssh-sandbox.h index dfecd5aa0..bd5fd8372 100644 --- a/ssh-sandbox.h +++ b/ssh-sandbox.h | |||
@@ -15,9 +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 | struct monitor; | ||
18 | struct ssh_sandbox; | 19 | struct ssh_sandbox; |
19 | 20 | ||
20 | struct ssh_sandbox *ssh_sandbox_init(void); | 21 | struct ssh_sandbox *ssh_sandbox_init(struct monitor *); |
21 | void ssh_sandbox_child(struct ssh_sandbox *); | 22 | void ssh_sandbox_child(struct ssh_sandbox *); |
22 | void ssh_sandbox_parent_finish(struct ssh_sandbox *); | 23 | void ssh_sandbox_parent_finish(struct ssh_sandbox *); |
23 | void ssh_sandbox_parent_preauth(struct ssh_sandbox *, pid_t); | 24 | void ssh_sandbox_parent_preauth(struct ssh_sandbox *, pid_t); |