← Back to context

Comment by surajrmal

1 month ago

Fun fact, those numbers are also not consistent per architecture. Any similarly named syscalls can have very different abi on different architectures.

IIRC, there are also differences in what syscalls even exist per-arch... although I suppose technically that doesn't have to preclude their numbers lining up.

For that matter, how you even make syscalls varies by arch, eg.

  syscall

on x86_64 vs

  int 0x80

on i386.