LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   On executing system calls,does control jumps to kernel... (https://www.linuxquestions.org/questions/linux-newbie-8/on-executing-system-calls-does-control-jumps-to-kernel-695924/)

Felicia23 01-08-2009 03:05 PM

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

Uncle_Theodore 01-08-2009 03:15 PM

Yeah. Something like that. :) http://www.tldp.org/HOWTO/html_singl....6-i386/#AEN19
http://en.wikipedia.org/wiki/System_call

indienick 01-08-2009 03:15 PM

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?

jailbait 01-08-2009 03:15 PM

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

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


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