LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 05-24-2008, 11:58 AM   #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, 01:27 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268

Rep: Reputation: 83
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, 02: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, 05:06 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268

Rep: Reputation: 83
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, 05: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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 12:33 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration