copy_process()

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Sep 20 6:43
Editor
Edited
Edited
2023 Oct 24 12:37
Refs
Refs
check clone flag and decide sharing level
  1. Sets up a new thread_info structure and a kernel mode stack
  1. Checks whether user exceeds his/her allowed number of processes.
  1. Copies file descriptors, page tables, …
  1. Sets state of the child to TASK_RUNNING
  1. Sets the parenthood relationship
  1. Sets the thread group relationship
 
 
 
 
 
 
 

Recommendations