diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c index 7f32871f8..b5a1f7038 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.326 2019/06/28 13:35:04 deraadt Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.327 2019/07/24 08:57:00 mestre Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1251,7 +1251,7 @@ client_loop(struct ssh *ssh, int have_pty, int escape_char_arg, | |||
1251 | if (options.control_master && | 1251 | if (options.control_master && |
1252 | !option_clear_or_none(options.control_path)) { | 1252 | !option_clear_or_none(options.control_path)) { |
1253 | debug("pledge: id"); | 1253 | debug("pledge: id"); |
1254 | if (pledge("stdio rpath wpath cpath unix inet dns recvfd proc exec id tty", | 1254 | if (pledge("stdio rpath wpath cpath unix inet dns recvfd sendfd proc exec id tty", |
1255 | NULL) == -1) | 1255 | NULL) == -1) |
1256 | fatal("%s pledge(): %s", __func__, strerror(errno)); | 1256 | fatal("%s pledge(): %s", __func__, strerror(errno)); |
1257 | 1257 | ||