> That header file is amazing. Thank you for the pointer to that.
Yeah, it's an awesome header! It comes straight from the kernel developers too. They use it for their own tools, apparently. It might be missing some of the newer or niche system calls but it has generic mechanisms which can be used to access everything.
I found it during my research for my own Linux system calls library project:
There's some additional details implemented by my project such as process start up functions which handle argument, environment and auxiliary vectors. I don't see the need to maintain it anymore though since nolibc.h is so amazing and practical.
I even asked Greg Kroah-Hartman about nolibc.h on Reddit:
Yeah, it's an awesome header! It comes straight from the kernel developers too. They use it for their own tools, apparently. It might be missing some of the newer or niche system calls but it has generic mechanisms which can be used to access everything.
I found it during my research for my own Linux system calls library project:
https://github.com/matheusmoreira/liblinux
There's some additional details implemented by my project such as process start up functions which handle argument, environment and auxiliary vectors. I don't see the need to maintain it anymore though since nolibc.h is so amazing and practical.
I even asked Greg Kroah-Hartman about nolibc.h on Reddit:
https://old.reddit.com/r/linux/comments/fx5e4v/im_greg_kroah...