LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-24-2008, 12:58 PM   #1
tonyr81
LQ Newbie
 
Registered: Dec 2005
Posts: 13

Rep: Reputation: 0
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
 
Old 05-24-2008, 02:27 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
This might be what you are looking for:

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

--------------------
Steve Stites
 
Old 05-24-2008, 03:19 PM   #3
tonyr81
LQ Newbie
 
Registered: Dec 2005
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 05-24-2008, 06:06 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Quote:
Originally Posted by tonyr81 View Post

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
 
Old 05-27-2008, 06:18 PM   #5
tonyr81
LQ Newbie
 
Registered: Dec 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks jailbait,
your answer was helpful.

Antonio
 
  


Reply

Tags
register, syscall


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use kill syscall shifter Programming 19 05-28-2007 11:04 AM
syscall hook robertos Linux - Kernel 15 03-09-2007 08:33 PM
syscall hook robertos Programming 4 03-06-2007 12:48 AM
assembly execve (syscall 11) rblampain Programming 2 07-03-2005 10:23 AM
Linux syscall 11 (execve) Genjix Programming 1 12-30-2004 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration