Date: Mon, 09 Aug 2021 09:55:27 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 256952] kqueue(2): Improve epoll Linux compatibility (compat/linux/linux_event) Message-ID: <bug-256952-227-2CSCSQmqq4@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-256952-227@https.bugs.freebsd.org/bugzilla/> References: <bug-256952-227@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=3D256952 --- Comment #6 from Vico <vico13.chen@gmail.com> --- Created attachment 227040 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227040&action= =3Dedit Test cases This test case only handles EPOLLRDHUP: 1. Run this case on Linux, it prints two lines that events are recieved( '0x2010': EPOLLHUP & EPOLLRDHUP) =E2=80=8B2. Run this case on BSD, it will hang as no EPOLLHUP or EPOLLRDHUP= reported.=E2=80=8B =E2=80=8B3. Run this case on BSD with this patch, it prints two events: a. First: print 'eventmask 0'. EPOLLIN reported as READ, and this patch = just mask it but it still wake up the epoll_wait. (we have following patch to fix this issue) b. Second: print 'eventmask 0x2010'. EPOLLHUP & EPOLLRDHUP are recieved = for close. --=20 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-256952-227-2CSCSQmqq4>