diff options
author | 2020-07-03 10:12:26 +0000 | |
---|---|---|
committer | 2020-07-03 10:12:26 +0000 | |
commit | 48a839a8bb309cb0995accf9e24d8b3f181185f8 (patch) | |
tree | c9b8f10c7d7d00ea405f6980bb55e8d17ce5c1b3 | |
parent | keep ignoring HUP after fork+exec; ok djm (diff) | |
download | wireguard-openbsd-48a839a8bb309cb0995accf9e24d8b3f181185f8.tar.xz wireguard-openbsd-48a839a8bb309cb0995accf9e24d8b3f181185f8.zip |
update setproctitle after re-exec; ok djm
-rw-r--r-- | usr.bin/ssh/sshd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 66a12857602..34c13df9858 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.559 2020/07/03 10:11:33 markus Exp $ */ +/* $OpenBSD: sshd.c,v 1.560 2020/07/03 10:12:26 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1616,6 +1616,7 @@ main(int ac, char **av) if ((cfg = sshbuf_new()) == NULL) fatal("%s: sshbuf_new failed", __func__); if (rexeced_flag) { + setproctitle("%s", "[rexeced]"); recv_rexec_state(REEXEC_CONFIG_PASS_FD, cfg); if (!debug_flag) { startup_pipe = dup(REEXEC_STARTUP_PIPE_FD); |