Bugzilla – Attachment 3217 Details for
Bug 2945
sshd unstable on Illumos (and probably Solaris) when compiled in XPG4 mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to check if the STREAMS modules are already pushed
openssh-sol-streams (text/plain), 968 bytes, created by
Fazal Majid
on 2018-12-19 10:06:34 AEDT
(
hide
)
Description:
Patch to check if the STREAMS modules are already pushed
Filename:
MIME Type:
Creator:
Fazal Majid
Created:
2018-12-19 10:06:34 AEDT
Size:
968 bytes
patch
obsolete
>--- openssh-7.9p1/openbsd-compat/bsd-openpty.c.dist Tue Dec 18 13:42:05 2018 >+++ openssh-7.9p1/openbsd-compat/bsd-openpty.c Tue Dec 18 13:57:43 2018 >@@ -123,12 +123,29 @@ > > /* > * Try to push the appropriate streams modules, as described >- * in Solaris pts(7). >+ * in Solaris pts(7), but only if they haven't been already pushed >+ * by XPG4 libc > */ >+# if defined(__sun) && defined(__SVR4) >+ if (ioctl(*aslave, I_FIND, "ptem") == 0) { >+# endif > ioctl(*aslave, I_PUSH, "ptem"); >+# if defined(__sun) && defined(__SVR4) >+ } >+ if (ioctl(*aslave, I_FIND, "ldterm") == 0) { >+# endif > ioctl(*aslave, I_PUSH, "ldterm"); >+# if defined(__sun) && defined(__SVR4) >+ } >+# endif > # ifndef __hpux >+# if defined(__sun) && defined(__SVR4) >+ if (ioctl(*aslave, I_FIND, "ttcompat") == 0) { >+# endif > ioctl(*aslave, I_PUSH, "ttcompat"); >+# if defined(__sun) && defined(__SVR4) >+ } >+# endif > # endif /* __hpux */ > > return (0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2945
:
3217
|
3248