diff options
author | markus@openbsd.org <markus@openbsd.org> | 2018-01-08 15:21:49 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-01-23 16:32:57 +1100 |
commit | 25cf9105b849932fc3b141590c009e704f2eeba6 (patch) | |
tree | 304d9af800f3450993741611dd28712928e61792 /misc.h | |
parent | b0d34132b3ca26fe94013f01d7b92101e70b68bb (diff) |
upstream commit
move subprocess() so scp/sftp do not need uidswap.o; ok
djm@
OpenBSD-Commit-ID: 6601b8360388542c2e5fef0f4085f8e54750bea8
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.69 2017/12/05 23:59:47 dtucker Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.70 2018/01/08 15:21:49 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -149,12 +149,6 @@ int argv_split(const char *, int *, char ***); | |||
149 | char *argv_assemble(int, char **argv); | 149 | char *argv_assemble(int, char **argv); |
150 | int exited_cleanly(pid_t, const char *, const char *, int); | 150 | int exited_cleanly(pid_t, const char *, const char *, int); |
151 | 151 | ||
152 | #define SSH_SUBPROCESS_STDOUT_DISCARD (1) /* Discard stdout */ | ||
153 | #define SSH_SUBPROCESS_STDOUT_CAPTURE (1<<1) /* Redirect stdout */ | ||
154 | #define SSH_SUBPROCESS_STDERR_DISCARD (1<<2) /* Discard stderr */ | ||
155 | pid_t subprocess(const char *, struct passwd *, | ||
156 | const char *, int, char **, FILE **, u_int flags); | ||
157 | |||
158 | struct stat; | 152 | struct stat; |
159 | int safe_path(const char *, struct stat *, const char *, uid_t, | 153 | int safe_path(const char *, struct stat *, const char *, uid_t, |
160 | char *, size_t); | 154 | char *, size_t); |