Project

General

Profile

Bug #2116

FD passing on 64-bit is hosed

Added by pavalos over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%


Description

I first discovered this by running dovecot2 from pkgsrc, and got the
following errors:

dovecot: imap-login: Error: fd_send(imap, 20) failed: Invalid argument

After some discussion on IRC, we came to the conclusion that something
isn't right with the CMSG macros on 64-bit systems.

Venkatesh Srinivas wrote a test program that I've attached to this email
that prints "hello" on 32-bit, and loops forever on 64-bit.

--Peter

sendhack.c View (1.48 KB) pavalos, 08/17/2011 08:58 AM

History

#1 Updated by vsrinivas over 5 years ago

Hi,

Should be fixed by commit 5e820acadf5cc517902dd1f2f730b31660f7768c.

You will need a full buildworld on amd64.

Thanks,
-- vs

Also available in: Atom PDF