Anatomy of a system call, part 1
Anatomy of a system call, part 1
Posted Jul 11, 2014 9:01 UTC (Fri) by geuder (subscriber, #62854)Parent article: Anatomy of a system call, part 1
A little detail, but a nuisance for humans, especially if you debug an emebedded target and compare to your desktop known to work correctly: What is the technical reason to have partially architecture specific syscall number? Passing a number in a register does not look like anything inherently architecture specific.
If you quickly need to see the syscall numbers for a given architecture I have seen the hint to look at strace source. I'm just at my phone now, so I don't compare the source now, but I vaguely remember it was indeed easier to navigate than the kernel source proper. Was it so that strace distributes ready lists while for the kernel they need to be built for each architecture?
