Liblinux – architecture-independent access to Linux system calls (github.com) 40 points by keepamovin 2y ago ↗ HN
[–] JonChesterfield 2y ago ↗ A freestanding C library that allows direct access to syscalls seems like a good thing. This one was x64 + gcc only and is archived, but the idea sounds right. E.g. I'd like access to futex. [–] keepamovin 2y ago ↗ The README is also written particularly well, I thought. [–] repelsteeltje 2y ago ↗ Clever. Nice write up on the why of the project, too.
[–] tombl 2y ago ↗ A maintained, cross arch alternative to this is nolibc, which resides in the kernel tree. See:https://elixir.bootlin.com/linux/v6.6/source/tools/include/n...https://lwn.net/Articles/920158/
5 comments
[ 2.8 ms ] story [ 18.0 ms ] threadhttps://elixir.bootlin.com/linux/v6.6/source/tools/include/n...
https://lwn.net/Articles/920158/