Opened 3 years ago

Closed 3 years ago

#12736 closed bug (duplicate)

fd passing functionality fails on x86_64

Reported by: korli Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Network & Internet/Stack Version: R1/Development
Keywords: Cc:
Blocked By: #12737 Blocking:
Has a Patch: no Platform: x86-64


Dovecot requires the ability to pass a file descriptor between two processes.

This is done through local network sockets and looks implemented in Haiku and even works on x86 (see here )

gcc -o conftest -std=gnu99 -D_BSD_SOURCE -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 fdpass.c  conftest.c -lnetwork

conftest exits with code 2 on x86_64. Attached are conftest.c and fdpass.c as example of checking the functionality.

Change History (1)

comment:1 by korli, 3 years ago

Blocked By: 12737 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.