bugzilla-daemon at mindrot.org
2003-Aug-06 08:42 UTC
[Bug 336] ssh does not compile on Linux with libc5 and 2.0 kernel
http://bugzilla.mindrot.org/show_bug.cgi?id=336
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #344 is|0 |1
obsolete| |
------- Additional Comments From dtucker at zip.com.au 2003-08-06 18:42 -------
Created an attachment (id=365)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=365&action=view)
Make OpenSSH work on old Linuxes
Found a really old redhat CD and installed it on my test machine....
# uname -r
1.2.13
# rpm -q libc
libc-5.2.18-1
The patch changes:
session.c: only does session_break_req if TIOCSBRK is defined.
bsd-misc.h: adds CMSG_DATA and CMSG_FIRSTHDR macros (stolen from OpenBSD).
canohost.c: only does check_ip_options if IP_OPTIONS is defined.
Everything appears to work OK apart from PrivSep (because mmap seems terminally
broken). With a newer kernel with a working mmap, PrivSep might even work.
Anyone complaining about older systems is on their own :-).
Anything objectionable in this patch?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Aug-06 22:54 UTC
[Bug 336] ssh does not compile on Linux with libc5 and 2.0 kernel
http://bugzilla.mindrot.org/show_bug.cgi?id=336 ------- Additional Comments From djm at mindrot.org 2003-08-07 08:54 ------- The patchs looks good, except I think that the definitions added to bsd-misc.h should instead go to defines.h ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Aug-07 06:07 UTC
[Bug 336] ssh does not compile on Linux with libc5 and 2.0 kernel
http://bugzilla.mindrot.org/show_bug.cgi?id=336
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From dtucker at zip.com.au 2003-08-07 16:07 -------
OK, have moved the CMSG_* macros to defines.h, eliminated MY_ALIGN(), re-tested
and committed. If you want to try it, grab tomorrow's snapshot from:
ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/snapshot/
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Maybe Matching Threads
- [PATCH] Fix minor breakage on Cygwin: auth-passwd.c and session.c
- [Bug 336] New: ssh does not compile on Linux with libc5 and 2.0 kernel
- [Bug 336] ssh does not compile on Linux with libc5 and 2.0 kernel
- [Bug 336] ssh does not compile on Linux with libc5 and 2.0 kernel
- [Bug 336] ssh does not compile on Linux with libc5 and 2.0 kernel