The operating system and the other processes are protected from being modified by an already running process because
1
they run at difference time instants and not in parallel
2
they are in different logical addresses
3
they use a protection algorithm in the scheduler
4
every address generated by the CPU is being checked against the relocation and limit parameters