A Syscall that is able to make a copy of the current Linux Process.

pid_t fork(void)
  • Returns 0 if process is a child process
  • Returns new child’s PID if process is parent process
  • May fail if there are no more processes that can be handed out

PCB Changes

  • PC is the exact same as the parent process
  • File Descriptor is exactly the same as the parent processes (Allows Pipe communications)
  • PID changed
  • Stack is copied exactly same