From acefd91b302dc1bffded901c3ecd0db8f9916e9b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 23 Mar 2022 08:54:35 +0000 Subject: 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'devel') diff --git a/devel/syscall-list b/devel/syscall-list index a6b1bfa7..d33a8a78 100755 --- a/devel/syscall-list +++ b/devel/syscall-list @@ -49,6 +49,8 @@ int main(void) D(SYS_inotify_rm_watch); D(SYS_prctl); D(SYS_fstatfs); + D(SYS_sendmsg); + D(SYS_recvmsg); #ifdef FS_IOC_GETFLAGS printf("FS_IOC_GETFLAGS=%#lx\nFS_IOC_SETFLAGS=%#lx\n", (unsigned long)FS_IOC_GETFLAGS, (unsigned long)FS_IOC_SETFLAGS); -- cgit v1.2.3-24-ge0c7