Bugzilla – Attachment 122 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]
Second-round patch for working around missing SCM_RIGHTS in Cobalt/glibc-2.0.7 headers
openssh-3.4p1-missing-scmrights2.patch (text/plain), 710 bytes, created by
Jim Knoble
on 2002-06-29 08:48:06 AEST
(
hide
)
Description:
Second-round patch for working around missing SCM_RIGHTS in Cobalt/glibc-2.0.7 headers
Filename:
MIME Type:
Creator:
Jim Knoble
Created:
2002-06-29 08:48:06 AEST
Size:
710 bytes
patch
obsolete
>--- ./monitor_fdpass.c.orig-missing-scmrights2 Thu Jun 6 17:40:51 2002 >+++ ./monitor_fdpass.c Fri Jun 28 18:35:58 2002 >@@ -24,6 +24,11 @@ > */ > > #include "includes.h" >+ >+#ifndef SCM_RIGHTS >+#define SCM_RIGHTS 0x01 >+#endif /* SCM_RIGHTS */ >+ > RCSID("$OpenBSD: monitor_fdpass.c,v 1.3 2002/06/04 23:05:49 markus Exp $"); > > #include <sys/uio.h> >@@ -112,9 +117,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