summaryrefslogtreecommitdiffhomepage
path: root/chansession.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-10-15 19:55:15 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-10-15 19:55:15 +0800
commit0e3e8db5bfca0c579be55e7580a46c593c1384be (patch)
tree2b1a718f633fb95c1f2d689a591cf9e8642697f3 /chansession.h
parent78e17f6ee9a944430da3e517ee1fe384fd6b275b (diff)
parent17873e8c922eded2cec86184673a6d110df6403f (diff)
merge from main
--HG-- branch : fuzz
Diffstat (limited to 'chansession.h')
-rw-r--r--chansession.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chansession.h b/chansession.h
index fa429d5..cf4fba3 100644
--- a/chansession.h
+++ b/chansession.h
@@ -41,6 +41,9 @@ struct ChanSess {
char * cmd; /* command to exec */
pid_t pid; /* child process pid */
+ /* command that was sent by the client, if authorized_keys command= or
+ dropbear -c was used */
+ char *original_command;
/* pty details */
int master; /* the master terminal fd*/
@@ -72,10 +75,6 @@ struct ChanSess {
char * agentfile;
char * agentdir;
#endif
-
-#if DROPBEAR_SVR_PUBKEY_OPTIONS_BUILT
- char *original_command;
-#endif
};
struct ChildPid {