Bugzilla – Attachment 119 Details for
Bug 311
Compile fails on MIPS Linux (Cobalt Raq2) - SCM_RIGHTS undeclared
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for Linux 2.0.x on Cobalt/MIPS platforms with missing SCM_RIGHTS in glibc includes
openssh-3.4p1-missing-scmrights.patch (text/plain), 661 bytes, created by
Jim Knoble
on 2002-06-28 16:09:12 AEST
(
hide
)
Description:
Patch for Linux 2.0.x on Cobalt/MIPS platforms with missing SCM_RIGHTS in glibc includes
Filename:
MIME Type:
Creator:
Jim Knoble
Created:
2002-06-28 16:09:12 AEST
Size:
661 bytes
patch
obsolete
>--- ./monitor_fdpass.c.orig-missing-scmrights Thu Jun 6 17:40:51 2002 >+++ ./monitor_fdpass.c Fri Jun 28 02:05:29 2002 >@@ -24,6 +24,7 @@ > */ > > #include "includes.h" >+#include <linux/socket.h> > RCSID("$OpenBSD: monitor_fdpass.c,v 1.3 2002/06/04 23:05:49 markus Exp $"); > > #include <sys/uio.h> >@@ -112,9 +113,12 @@ > fatal("%s: no fd", __func__); > #else > cmsg = CMSG_FIRSTHDR(&msg); >+#if 0 >+ /* Linux kernel 2.0.x doesn't handle cmsg_type in recvmsg(). */ > if (cmsg->cmsg_type != SCM_RIGHTS) > fatal("%s: expected type %d got %d", __func__, > SCM_RIGHTS, cmsg->cmsg_type); >+#endif /* 0 */ > fd = (*(int *)CMSG_DATA(cmsg)); > #endif > return fd;
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 311
: 119 |
122