Page 1 of 1

Linux system calls specification

Posted: 2008-09-30 15:25
by raurte
Hi.
I'm in a research group developing an application-only simulator, which directly executes an ELF file output by gcc. In our simulator, I'm implementing the Linux 2.6.22 system calls. I intercept an 'int 0x80' instruction, and modify the register file and memory map to return the application the results it expects.

My question is: is there any *detailed* specification of the system calls for this kernel? The information in the manual is only partial, and it mostly talks about the glibc interface, which is usually different. I am figuring everything out now by looking at the kernel code, which is quite tedious.

I expect some information like:
System call number 23. Input: EAX=meaning, EBX=meaning ..., output: EAX=error code

Thank you.

Posted: 2008-09-30 21:07
by BioTube
Generally speaking, the code's the best documentation there is. As for the kernel, I don't know that anybody's ever tried to document it elsewhere.