Re: fork and clone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fork() system call is implemented via the clone() system call.

the clone() system call internally calls do_fork() to do the bulk
of the wrk (forking i.e). So fork() does call do_fork but not
directly.

Refer to Robert Love's book (chapter 2 Process Mgmt -> process
creation) for a more details......

On Wed, 2005-01-19 at 17:41, surendra singh bisht wrote:
>   
> hi,
>   
>         the sys_fork() system call call do_fork() and sys_clone()
>         do the same ,then why it is said (and written in big books)
>         that fork is implemented via clone system call ??. 
> 
>         
>   surendra bisht
> 
> 
> 
> 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux