summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2018-01-08 15:21:49 +0000
committerDamien Miller <djm@mindrot.org>2018-01-23 16:32:57 +1100
commit25cf9105b849932fc3b141590c009e704f2eeba6 (patch)
tree304d9af800f3450993741611dd28712928e61792 /auth.h
parentb0d34132b3ca26fe94013f01d7b92101e70b68bb (diff)
upstream commit
move subprocess() so scp/sftp do not need uidswap.o; ok djm@ OpenBSD-Commit-ID: 6601b8360388542c2e5fef0f4085f8e54750bea8
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/auth.h b/auth.h
index 29835ae92..64f3c2eb5 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.h,v 1.93 2017/08/18 05:36:45 djm Exp $ */ 1/* $OpenBSD: auth.h,v 1.94 2018/01/08 15:21:49 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -221,6 +221,12 @@ void auth_debug_reset(void);
221 221
222struct passwd *fakepw(void); 222struct passwd *fakepw(void);
223 223
224#define SSH_SUBPROCESS_STDOUT_DISCARD (1) /* Discard stdout */
225#define SSH_SUBPROCESS_STDOUT_CAPTURE (1<<1) /* Redirect stdout */
226#define SSH_SUBPROCESS_STDERR_DISCARD (1<<2) /* Discard stderr */
227pid_t subprocess(const char *, struct passwd *,
228 const char *, int, char **, FILE **, u_int flags);
229
224int sys_auth_passwd(Authctxt *, const char *); 230int sys_auth_passwd(Authctxt *, const char *);
225 231
226#define SKEY_PROMPT "\nS/Key Password: " 232#define SKEY_PROMPT "\nS/Key Password: "