]> Sergey Matveev's repositories - public-inbox.git/commit
syscall: minor yak-shaving updates
authorEric Wong <e@80x24.org>
Thu, 6 May 2021 08:38:53 +0000 (08:38 +0000)
committerEric Wong <e@80x24.org>
Thu, 6 May 2021 16:56:45 +0000 (16:56 +0000)
commit8b7fbce5c50b51610f3ea69412ea5b19d7d38537
treeee772965f80d076cd058f294795d194d22c58a0e
parentde20dc26cd22271327e8a84818ff0774cecc1361
syscall: minor yak-shaving updates

FreeBSD (and other *BSDs) do not have stable syscall numbers, so
drop no-op checks for it and add a note to use Inline::C,
instead.  Drop an implicit return for the syscall.ph loading
while we're at it, too.

On Linux, epoll_create(2) ignores the size arg since Linux
2.6.8, so just hard code it to some non-zero value.

On a side note, we can probably drop epoll_create(2) support
soon and just use epoll_create1(2) which appeared in 2.6.27+
(2008-10-09).  Our userspace (Perl and git) requirements are
already further ahead.
lib/PublicInbox/Syscall.pm