Linux system calls specification

News and discussion about development of the Debian OS itself

Linux system calls specification

Postby raurte » 2008-09-30 15:25

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.
raurte
 
Posts: 1
Joined: 2008-09-30 14:54

Postby BioTube » 2008-09-30 21:07

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.
Image
Ludwig von Mises wrote:The elite should be supreme by virtue of persuasion, not by the assistance of firing squads.
User avatar
BioTube
 
Posts: 7551
Joined: 2007-06-01 04:34


Return to Debian Development

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable