Linux System Calls Question:
Download Questions PDF

What do fork() internally call?


Linux implements fork() via the clone() system call.
The clone() system call, in turn, calls do_fork().
The bulk of the work in forking is handled by do_fork(),
which is defined in kernel/fork.c.This function calls
copy_process() and then starts the process running.
If copy_process() returns successfully, the new child is
woken up and run. Deliberately, the kernel runs the child
process first.

Download Linux System Calls Interview Questions And Answers PDF

Previous QuestionNext Question
What does exec family return?How to create secured appeche web sever?