summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-10-02 12:40:07 +0000
committerDamien Miller <djm@mindrot.org>2018-10-02 22:41:01 +1000
commitcd98925c6405e972dc9f211afc7e75e838abe81c (patch)
tree295a45cea9fce0ad18a8463d604e1fdce8246768 /session.h
parentdba50258333f2604a87848762af07ba2cc40407a (diff)
upstream: 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@ OpenBSD-Commit-ID: 4bea826f575862eaac569c4bedd1056a268be1c3
Diffstat (limited to 'session.h')
-rw-r--r--session.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/session.h b/session.h
index 54dd1f0ca..ce59dabd9 100644
--- a/session.h
+++ b/session.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: session.h,v 1.35 2017/09/12 06:32:07 djm Exp $ */ 1/* $OpenBSD: session.h,v 1.36 2018/10/02 12:40:07 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -35,6 +35,7 @@ struct Session {
35 struct passwd *pw; 35 struct passwd *pw;
36 Authctxt *authctxt; 36 Authctxt *authctxt;
37 pid_t pid; 37 pid_t pid;
38 int forced;
38 39
39 /* tty */ 40 /* tty */
40 char *term; 41 char *term;