summaryrefslogtreecommitdiff
path: root/system/openssh/fix-utmpx.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 22:30:22 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 22:30:22 -0500
commit54d08c9239fbd868e132351128efa81ceb0d60db (patch)
tree9420ecdcfb6f962fe56bbc11039dfb920696bf78 /system/openssh/fix-utmpx.patch
parent79ef663df99da8741bc47142bcb95dc4dec68db3 (diff)
downloadpackages-54d08c9239fbd868e132351128efa81ceb0d60db.tar.gz
packages-54d08c9239fbd868e132351128efa81ceb0d60db.tar.bz2
packages-54d08c9239fbd868e132351128efa81ceb0d60db.tar.xz
packages-54d08c9239fbd868e132351128efa81ceb0d60db.zip
system/openssh: [PD] fix, add utmps
Diffstat (limited to 'system/openssh/fix-utmpx.patch')
-rw-r--r--system/openssh/fix-utmpx.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/openssh/fix-utmpx.patch b/system/openssh/fix-utmpx.patch
new file mode 100644
index 000000000..7f05add35
--- /dev/null
+++ b/system/openssh/fix-utmpx.patch
@@ -0,0 +1,14 @@
+--- openssh-7.7p1/loginrec.c.old 2018-04-02 00:38:28.000000000 -0500
++++ openssh-7.7p1/loginrec.c 2018-06-15 22:09:00.091482769 -0500
+@@ -1656,7 +1656,11 @@
+ const char *ttyn)
+ {
+ int fd;
++#if defined(USE_UTMPX)
++ struct utmpx ut;
++#else
+ struct utmp ut;
++#endif
+ struct sockaddr_storage from;
+ socklen_t fromlen = sizeof(from);
+ struct sockaddr_in *a4;