]> Sergey Matveev's repositories - public-inbox.git/commit
syscall: implement sendmsg+recvmsg in pure Perl
authorEric Wong <e@80x24.org>
Wed, 23 Mar 2022 08:54:35 +0000 (08:54 +0000)
committerEric Wong <e@80x24.org>
Wed, 23 Mar 2022 18:39:03 +0000 (18:39 +0000)
commitacefd91b302dc1bffded901c3ecd0db8f9916e9b
treedc67a37a04c85d503185f12d6c21cb19f01078a3
parent215e2138c99d48e2061eb98aef5a6da1bc3ff828
syscall: implement sendmsg+recvmsg in pure Perl

Socket::MsgHdr is only packaged for Debian and derivatives at
the moment, and Inline::C pulling in gcc/clang is a huge amount
of disk space and bandwidth for some users.

This enables disk space and/or bandwidth-limited users to use lei.

Only Linux guarantees a stable ABI and syscall numbers, but
that's the majority of our userbase.  FreeBSD users will still
have to use Inline::C (or get Socket::MsgHdr packaged).

x86, x32, and x86-64 are all currently supported, more to be added.
devel/syscall-list
lib/PublicInbox/Syscall.pm
script/lei
t/cmd_ipc.t