summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/session.h
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2018-10-02 12:40:07 +0000
committerdjm <djm@openbsd.org>2018-10-02 12:40:07 +0000
commitad3fdf1f25c1e48f3fd6a8ff7b0bc0cea30736ad (patch)
tree9524a79d971dd7439a8f209cc750508f2e44c7da /usr.bin/ssh/session.h
parentSupport a second argument to -O man, (diff)
downloadwireguard-openbsd-ad3fdf1f25c1e48f3fd6a8ff7b0bc0cea30736ad.tar.xz
wireguard-openbsd-ad3fdf1f25c1e48f3fd6a8ff7b0bc0cea30736ad.zip
Add server support for signalling sessions via the SSH channel/
session protocol. Signalling is only supported to sesssions that are not subsystems and were not started with a forced command. Long requested in bz#1424 Based on a patch from markus@ and reworked by dtucker@; ok markus@ dtucker@
Diffstat (limited to 'usr.bin/ssh/session.h')
-rw-r--r--usr.bin/ssh/session.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/session.h b/usr.bin/ssh/session.h
index 54dd1f0ca08..ce59dabd906 100644
--- a/usr.bin/ssh/session.h
+++ b/usr.bin/ssh/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.35 2017/09/12 06:32:07 djm Exp $ */
+/* $OpenBSD: session.h,v 1.36 2018/10/02 12:40:07 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -35,6 +35,7 @@ struct Session {
struct passwd *pw;
Authctxt *authctxt;
pid_t pid;
+ int forced;
/* tty */
char *term;