Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Linux system calls specification

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
raurte
Posts: 1
Joined: 2008-09-30 14:54

Linux system calls specification

#1 Post 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.

User avatar
BioTube
Posts: 7520
Joined: 2007-06-01 04:34

#2 Post 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.
Image
Ludwig von Mises wrote:The elite should be supreme by virtue of persuasion, not by the assistance of firing squads.

Post Reply