4 ms·
"raw syscalls only: no libc wrappers" insane! i wonder how many times you have spent to learn about them!
by radhitya 3mo ago
"raw syscalls only: no libc wrappers"
insane! i wonder how many times you have spent to learn about them!
- binaryturtle 3mo agoLike one time? It is like any other API. You look it up, study the parameters (in this case you need to look up in which register is what argument expected) and off it goes.
- imtomt 3mo agoHonestly it's easier than you'd think! All the syscall numbers are in /usr/include/asm-generic/unistd.h (on linux), and you can read the man page for any of them.