[Bug 2945] sshd unstable on Illumos (and probably Solaris) when compiled in XPG4 mode

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Dec 21 02:28:23 AEDT 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2945

Roumen Petrov <bugtrack at roumenpetrov.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugtrack at roumenpetrov.info

--- Comment #3 from Roumen Petrov <bugtrack at roumenpetrov.info> ---
First question is why is so important to build according more then 20
(30?) yeas old specification like XPG4?

Using more modern XPG6 (version 2004 -
https://pubs.opengroup.org/onlinepubs/009695399/functions/posix_openpt.html)
there is requirements for stream modules.

I did some tests using implementation from
https://roumenpetrov.info.example.net/secsh/  on Solaris 11.3 and the
test shows that stream modules are not inserted:
=====
debug1: Allocating pty.

..TRACE openpty()  ...
..TRACE openpty() I_FIND ptem    : 0
..TRACE openpty() I_FIND ldterm  : 0
..TRACE openpty() I_FIND ttcompat: 0
debug1: session_pty_req: session 0 alloc /dev/pts/5
=====
So there is no need for patched OS!


Just stop to build for XPG4.

Why such build succeeded is another question.

Regards,
Roumen Petrov

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list