LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   i need help in understanding syscall (https://www.linuxquestions.org/questions/linux-kernel-70/i-need-help-in-understanding-syscall-644502/)

tonyr81 05-24-2008 12:58 PM

i need help in understanding syscall
 
Hi all,

I need some information about syscall and how they are handled. I want to understand how syscall are translated in Assembly code and via which registers the syscall id and parameters are passed.

Can you explain me this topics or suggest me some documentation?

I looked for these informations on the web but I can't find them.

Thanks for help

Antonio

jailbait 05-24-2008 02:27 PM

This might be what you are looking for:

http://www.tldp.org/LDP/lki/lki-2.html#ss2.11

--------------------
Steve Stites

tonyr81 05-24-2008 03:19 PM

jailbait thanks for your answer. It was helpful. I've seen that the document speaks about kernel 2.4, is it the same for 2.6?

Thanks

Antonio

jailbait 05-24-2008 06:06 PM

Quote:

Originally Posted by tonyr81 (Post 3163544)

I've seen that the document speaks about kernel 2.4, is it the same for 2.6?

I have found documentation that there are major differences between 2.4 and 2.6. Information on what the differences are is hard to find. The best I can find is the description of how 2.6 system call macro definitions work in 2.6.

http://www.ibiblio.org/pub/Linux/doc...Linux-2.6-i386

This document explains how to use the system call table which may tell you what you need to know in a round about way:

http://tldp.org/LDP/lkmpg/2.6/html/x978.html

--------------------
Steve Stites

tonyr81 05-27-2008 06:18 PM

Thanks jailbait,
your answer was helpful.

Antonio


All times are GMT -5. The time now is 09:35 AM.