Bugzilla – Attachment 3248 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]
revised diff
bz2945.diff (text/plain), 596 bytes, created by
Damien Miller
on 2019-03-01 14:03:30 AEDT
(
hide
)
Description:
revised diff
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2019-03-01 14:03:30 AEDT
Size:
596 bytes
patch
obsolete
>diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c >index e8ad542f..123a9be5 100644 >--- a/openbsd-compat/bsd-openpty.c >+++ b/openbsd-compat/bsd-openpty.c >@@ -121,6 +121,15 @@ openpty(int *amaster, int *aslave, char *name, struct termios *termp, > return (-1); > } > >+# if defined(I_FIND) && defined(__SVR4) >+ /* >+ * If the streams modules have already been pushed then there >+ * is no more work to do here. >+ */ >+ if (ioctl(*aslave, I_FIND, "ptem") != 0) >+ return 0; >+# endif >+ > /* > * Try to push the appropriate streams modules, as described > * in Solaris pts(7).
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
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2945
:
3217
| 3248