kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Fork
@ 2020-01-09 10:35 Christophe DUMONT
  2020-01-09 10:47 ` Fork Valentin Vidić
  0 siblings, 1 reply; 5+ messages in thread
From: Christophe DUMONT @ 2020-01-09 10:35 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 129 bytes --]

Hello,

How does the kernel knows when a process calls the fork function that he has the rights to create a new process ?



[-- Attachment #1.2: Type: text/html, Size: 2088 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 5+ messages in thread
* fork
@ 2016-04-18  6:48 Nitin Varyani
  2016-04-18  7:12 ` fork Alex Wilson
  2016-04-18  8:18 ` fork Cihangir Akturk
  0 siblings, 2 replies; 5+ messages in thread
From: Nitin Varyani @ 2016-04-18  6:48 UTC (permalink / raw)
  To: kernelnewbies

Linux kernel development by Robert Love describes the fork process as

fork() -> clone() -> do_fork() -> copy_process()

I am unable to find the clone() system call in linux 3.13.
Can someone explain the proper flow of fork() system call initiated by the
user?

Where can I find the libc implementation for fork()? I want the code of all
the functions involved in fork.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160418/248505f9/attachment.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-09 10:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 10:35 Fork Christophe DUMONT
2020-01-09 10:47 ` Fork Valentin Vidić
  -- strict thread matches above, loose matches on Subject: below --
2016-04-18  6:48 fork Nitin Varyani
2016-04-18  7:12 ` fork Alex Wilson
2016-04-18  8:18 ` fork Cihangir Akturk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).