Memory address space of a process

It contains stack, heap.

Note that when we fork a process, stack and heap are copied over.

This means that whatever we mutate in stack & heap stays isolated within a process.

See What is Process Control Block and Process Table

Only files, working directory etc… are not change.