recvmsg fails with EBADF error
Abhijit Kulkarni
abhijit_kulkarni at symantec.com
Tue Jun 17 10:15:04 UTC 2014
Hi,
I have application that sends socket FD from one process to another using sendmsg API and receives that FD using recvmsg API. It works perfectly on FreeBSD 6 (i386-32 bits binary) but fails on FreeBSD 9.2 (amd64-64 bits binary) . The recvmsg API does not fail but the FD, that is retuned, is no longer socket FD hence further use of that FD fails with EBADF error.
Has anyone faced this problem before? Is this a known issue?
Thanks & Regards,
Abhijit Kulkarni
More information about the freebsd-ports-bugs
mailing list