Date: Sat, 26 Jul 2014 00:32:47 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192109] recvmsg fails to receive socket FD and subsequent functions on that FD fails with EBADF error. Message-ID: <bug-192109-8-dXZx5aJrGm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-192109-8@https.bugs.freebsd.org/bugzilla/> References: <bug-192109-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192109 --- Comment #2 from Mateusz Guzik <mjg@FreeBSD.org> --- Your code is incorrect and works on i386 only by chance. It should use CMSG_ macros to fil up data. I modified your reproducer to use it in a least-resistant way and everything seems to be working fine. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192109-8-dXZx5aJrGm>