Bugzilla – Attachment 127 Details for
Bug 327
monitor_fdpass.c: Expected 1 got 1075033556 - Privilege Separation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to enable mm_receive_fd() to work under Linux kernel-2.0.x
openssh-SNAP-20020702-linux20.patch (text/plain), 475 bytes, created by
Jim Knoble
on 2002-07-03 05:59:29 AEST
(
hide
)
Description:
Patch to enable mm_receive_fd() to work under Linux kernel-2.0.x
Filename:
MIME Type:
Creator:
Jim Knoble
Created:
2002-07-03 05:59:29 AEST
Size:
475 bytes
patch
obsolete
>--- ./monitor_fdpass.c.orig-linux20 Wed Jun 26 20:21:03 2002 >+++ ./monitor_fdpass.c Tue Jul 2 15:50:38 2002 >@@ -113,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 327
: 127