Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-08-2009, 04:05 PM   #1
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?
Old 01-08-2009, 04:15 PM   #2
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 70
Yeah. Something like that.
Old 01-08-2009, 04:15 PM   #3
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
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

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

Steve Stites


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 PM.

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