Project

General

Profile

Actions

Bug #2116

closed

FD passing on 64-bit is hosed

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

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

0%

Estimated time:

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


Files

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

Updated by vsrinivas over 12 years ago

Hi,

Should be fixed by commit 5e820acadf5cc517902dd1f2f730b31660f7768c.

You will need a full buildworld on amd64.

Thanks,
-- vs

Actions

Also available in: Atom PDF