LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2009, 04:05 PM   #1
Felicia23
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Rep: Reputation: 0
On executing system calls,does control jumps to kernel...


Hi guys,When a process invokes a system call,does the control jumps to kernel in order to execute kernel instructions?
Thanks
 
Old 01-08-2009, 04:15 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Yeah. Something like that. http://www.tldp.org/HOWTO/html_singl....6-i386/#AEN19
http://en.wikipedia.org/wiki/System_call
 
Old 01-08-2009, 04:15 PM   #3
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
I believe control jumps to the shell that the process making the system call originated from - in which case, the a tertiary process is spawned.

EDIT: Do you, perhaps, mean a system call through a system() function?

Last edited by indienick; 01-08-2009 at 04:16 PM.
 
Old 01-08-2009, 04:15 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,790

Rep: Reputation: 292Reputation: 292Reputation: 292
Yes. An application program issues a system call instruction which the kernel catches and executes.

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


Reply


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 does java calls the system calls which are written in c babu198649 Linux - General 3 12-05-2011 04:40 AM
executing vfs_write on remote machine, which other calls should be hooked? saumitra Programming 4 04-08-2007 12:44 AM
Time jumps by 1 day for an hour, then jumps back on RH 9? dieyouspammer Red Hat 3 04-07-2006 01:18 PM
Adding system calls to the kernel yakul Programming 1 11-19-2005 10:38 PM
Mouse jumps around with 2.6 kernel userian Linux - General 6 06-23-2004 08:42 PM


All times are GMT -5. The time now is 04:48 PM.

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