HomeFreeBSD

Split kern_poll() on two counterparts.

Description

Split kern_poll() on two counterparts.

The kern_poll_kfds() operates on clear kernel data, kfds points to an
array in the kernel, while kern_poll() operates on user supplied pollfd.
Move nfds check to kern_poll_maxfds().

No functional changes, it's for future use in the Linux emulation layer.

Reviewd by: kib
Differential Revision: https://reviews.freebsd.org/D30690
MFC after: 2 weeks

Details

Provenance
dchaginAuthored on Jun 10 2021, 12:11 PM
Differential Revision
D30690: Split kern_poll() on two counterparts.
Parents
R10:981a60f112e2: linux(4): Regen for pselect6_time64 system call.
Branches
Unknown
Tags
Unknown