1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-27 08:00:11 +00:00
freebsd/sys/i386
Dmitry Chagin 26795a0378 linux(4): Rework Linux ppoll system call.
For now the Linux emulation layer uses in kernel ppoll(2) without
conversion of user supplied fd 'events', and does not convert the
kernel supplied fd 'revents'.

At least POLLRDHUP is handled by FreeBSD differently than by
Linux. Seems that Linux silencly ignores POLLRDHUP on non socket fd's
unlike FreeBSD, which does more strictly check and fails.

Rework the Linux ppoll, using kern_poll and converting 'events'
and 'revents' values.
While here, move poll events defines to the MI part of code as they
mostly identical on all arches except arm.

Differential Revision:	https://reviews.freebsd.org/D30716
MFC after:		2 weeks
2021-06-22 08:06:05 +03:00
..
acpica
bios
cloudabi32
conf an: Remove driver 2021-06-12 01:08:54 +02:00
i386 hyperv: Fix vmbus after the i386 4/4 split 2021-06-08 09:40:30 -04:00
include i386: Make setidt_disp a size_t instead of uintptr_t 2021-06-01 19:37:50 -04:00
linux linux(4): Rework Linux ppoll system call. 2021-06-22 08:06:05 +03:00
pci
Makefile