Preserve IUTF8 tty mode flag over ssh connections (#1270248)
This commit is contained in:
parent
c9e7e79685
commit
f6bd29aaca
31
openssh-7.1p1-iutf8.patch
Normal file
31
openssh-7.1p1-iutf8.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
diff --git a/PROTOCOL b/PROTOCOL
|
||||||
|
index 131adfe..c828087 100644
|
||||||
|
--- a/PROTOCOL
|
||||||
|
+++ b/PROTOCOL
|
||||||
|
@@ -328,6 +328,11 @@ a server may offer multiple keys of the same type for a period (to
|
||||||
|
give clients an opportunity to learn them using this extension) before
|
||||||
|
removing the deprecated key from those offered.
|
||||||
|
|
||||||
|
+2.6. connection: add IUTF8 terminal mode flag
|
||||||
|
+
|
||||||
|
+OpenSSH supports the IUTF8 terminal mode flag and encodes it in "pty-req"
|
||||||
|
+messages as opcode value 42.
|
||||||
|
+
|
||||||
|
3. SFTP protocol changes
|
||||||
|
|
||||||
|
3.1. sftp: Reversal of arguments to SSH_FXP_SYMLINK
|
||||||
|
diff --git a/ttymodes.h b/ttymodes.h
|
||||||
|
index 4d848fe..396ae88 100644
|
||||||
|
--- a/ttymodes.h
|
||||||
|
+++ b/ttymodes.h
|
||||||
|
@@ -127,6 +127,9 @@ TTYMODE(IXOFF, c_iflag, 40)
|
||||||
|
#ifdef IMAXBEL
|
||||||
|
TTYMODE(IMAXBEL,c_iflag, 41)
|
||||||
|
#endif /* IMAXBEL */
|
||||||
|
+#ifdef IUTF8
|
||||||
|
+TTYMODE(IUTF8, c_iflag, 42)
|
||||||
|
+#endif /* IUTF8 */
|
||||||
|
|
||||||
|
TTYMODE(ISIG, c_lflag, 50)
|
||||||
|
TTYMODE(ICANON, c_lflag, 51)
|
||||||
|
|
@ -233,6 +233,9 @@ Patch934: openssh-7.1p1-hostkeyalgorithms.patch
|
|||||||
# Updated version of ssh-copy-id
|
# Updated version of ssh-copy-id
|
||||||
# http://git.hands.com/ssh-copy-id
|
# http://git.hands.com/ssh-copy-id
|
||||||
Patch935: openssh-7.1p1-ssh-copy-id.patch
|
Patch935: openssh-7.1p1-ssh-copy-id.patch
|
||||||
|
# Preserve IUTF8 tty mode flag over ssh connections (#1270248)
|
||||||
|
# https://bugzilla.mindrot.org/show_bug.cgi?id=2477
|
||||||
|
Patch936: openssh-7.1p1-iutf8.patch
|
||||||
|
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -470,6 +473,7 @@ popd
|
|||||||
%patch933 -p1 -b .fingerprint
|
%patch933 -p1 -b .fingerprint
|
||||||
%patch934 -p1 -b .hostkey
|
%patch934 -p1 -b .hostkey
|
||||||
%patch935 -p1 -b .ssh-copy-id
|
%patch935 -p1 -b .ssh-copy-id
|
||||||
|
%patch936 -p1 -b .iutf8
|
||||||
|
|
||||||
%patch200 -p1 -b .audit
|
%patch200 -p1 -b .audit
|
||||||
%patch700 -p1 -b .fips
|
%patch700 -p1 -b .fips
|
||||||
|
Loading…
Reference in New Issue
Block a user