First page Back Continue Last page Overview

 

How Processes Are Created

 
  • One process “forks” a child, pointing to the same pages of memory, and marking the area as read-only

  • Then, the child “execs” the new command, causing a copy-on-write fault, thus copying to a new area of memory

  • A process can exec, without forking

    • The child maintains the process ID of the parent