in Operating System edited by
4,609 views
6 votes
6 votes

The operating system and the other processes are protected from being modified by an already running process because

  1. they run at different 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
in Operating System edited by
by
4.6k views

4 Answers

4 votes
4 votes

The Operating System uses two registers to implement memory protection, namely relocation register and limit register. Together, they can define the range of addresses a process can validly refer to.

When the dispatcher dispatches a process from ready to running state, the relocation register and the limit registers are given the respective values as per that process.

Each logical address generated by the CPU is checked against these registers to figure out if the logical address is out of bounds for the given process. This is how memory protection is implemented.

Option D

2 Comments

textbook name please?
0
0
Book name?
0
0
1 vote
1 vote

Option D).

Relocation and limit registers checks the address request made by process and prevents the system from accessing memory of other program.

More: https://www.classle.net/#!/classle/faq/what-logical-address-and-relocation-register/

 

4 Comments

Option B is one of the factors of option D.
0
0
Let's see what comes in the official key.
0
0

We always have to go for the most appropriate answer. Technically Option C is also correct. But Option D states the precise reason. Don't get drawn too much into semantics, bro.

0
0
0 votes
0 votes

D is correct. 

Every address generated by the CPU is being checked against the relocation and limit parameters to ensure security.

0 votes
0 votes
option D as the logical address generated by CPU is being checked by the Relocation Register (base register which contain the smallest PHYSICAL ADDRESS and Limit register which contain the range of the LOGICAL ADDRESS and one process can not modify other processes or operating system.
Answer:

Related questions