diff options
author | Damien Miller <djm@mindrot.org> | 2008-02-10 22:40:12 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-02-10 22:40:12 +1100 |
commit | d8cb1f184f9acaae02bb4d15ce1e00ffbeeeac88 (patch) | |
tree | fb0100a74a6c870e835706aa487b54500510c5e1 /sftp.h | |
parent | dfc24258a75a06ea8a3f56d99d3669e1a012a1dc (diff) |
- djm@cvs.openbsd.org 2008/02/08 23:24:07
[servconf.c servconf.h session.c sftp-server.c sftp.h sshd_config]
[sshd_config.5]
add sshd_config ChrootDirectory option to chroot(2) users to a directory
and tweak internal sftp server to work with it (no special files in
chroot required). ok markus@
Diffstat (limited to 'sftp.h')
-rw-r--r-- | sftp.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.h,v 1.6 2008/02/04 21:53:00 markus Exp $ */ | 1 | /* $OpenBSD: sftp.h,v 1.7 2008/02/08 23:24:07 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
@@ -91,5 +91,7 @@ | |||
91 | #define SSH2_FX_OP_UNSUPPORTED 8 | 91 | #define SSH2_FX_OP_UNSUPPORTED 8 |
92 | #define SSH2_FX_MAX 8 | 92 | #define SSH2_FX_MAX 8 |
93 | 93 | ||
94 | int sftp_server_main(int, char **); | 94 | struct passwd; |
95 | |||
96 | int sftp_server_main(int, char **, struct passwd *); | ||
95 | void sftp_server_cleanup_exit(int) __dead; | 97 | void sftp_server_cleanup_exit(int) __dead; |