by 1vuio0pswjnm7 · 5y ago · 0 comments
It's actually a fairly common pattern, both ffmpeg and the Linux kernel do this for example.
#include <sys/syscall.h>
is generally the easiest way to make a syscall without hardcoding numbers into your assembly program.