freebsd-dev/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 acpi: Make nexus_acpi quiet on amd64 and i386 2021-03-05 12:54:00 -05:00
bios Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
cloudabi32 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
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 i386: clean up empty lines in .c and .h files 2020-09-01 21:19:39 +00:00
Makefile Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00