The kern_poll() operates on clear kernel data, while the kern_poll_ufds()
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.
Differential D30690
Split kern_poll() on two counterparts. dchagin on Jun 8 2021, 6:35 AM. Authored by Tags None Referenced Files
Subscribers
Details
The kern_poll() operates on clear kernel data, while the kern_poll_ufds() No functional changes, it's for future use in the Linux emulation layer.
Diff Detail
Event TimelineComment Actions make kern_poll private, kern_poll_ufds - public Comment Actions I believe it would be useful to add a comment above each of kern_poll_{u,k}fds, explaining that corresponding function expects from fds pointer.
|