Are the numbers for the system calls for every machine different? Does it depend on the processor, I mean will there be a difference for i586 and i386?
If they are different for every machine, how can you find out the numbers for your machine?
One common place is /usr/include/asm*, but this folder does not exist.
/usr/include/asm
, you might be missing some devel package or other. For me (Fedora 22) it's in eitherkernel-devel
orkernel-headers
, and the file is/usr/include/asm/unistd_64.h
. Presumably the same file is also in the kernel source tree somewhere, if you look. – Tom Hunt Nov 30 '15 at 18:15