Enforce memory protection at compile time?, Operating System

Assignment Help:

Why is it not possible to enforce memory protection at compile time?

 Every process should be protected against unwanted interference by other process, whether intentional or accidental. Therefore programs in other process must not be able to reference memory locations in a process for reading or writing purposes without permission.

      Satisfaction of relocation requirements add to the difficulty in satisfying the protection requirement. For the reason that the location of the program in main memory is unpredictable, it is unfeasible to check absolute addresses at compile time to assure protection. The majority programming languages permit the dynamic calculation at the run time. Therefore all memory    references generated by a process should check at run time to ensure that they refer only to the memory space allocated to that process. It is able to be seen that the mechanism that supports relocation also supports protection.

 


Related Discussions:- Enforce memory protection at compile time?

What do you mean by best fit, What do you mean by best fit? Best fit al...

What do you mean by best fit? Best fit allocates the smallest hole that is big sufficient. The entire list has to be searched, until it is sorted by size. This strategy creates

CPU sheduling, categorize the CPU scheduling algorithms and among them expl...

categorize the CPU scheduling algorithms and among them explain the non-preemptive algorithms..

Explain terminal symbols, Explain Terminal Symbols Terminal symbols are...

Explain Terminal Symbols Terminal symbols are literal strings that are forming the input of a formal grammar and cannot be broken down into smaller units with no losing their l

Explain best fit algorithm, BEST FIT ALGORITHM Here scanning is for th...

BEST FIT ALGORITHM Here scanning is for the finest fit one. Signifies it searches the entire list for the best fit position. For the process therefore in that the process will

Explain the benefits of thread over process?, BENEFITS OF THREADS OVER PROC...

BENEFITS OF THREADS OVER PROCESS If implemented correctly after those threads have some advantages of (multi) processes, they take: 1. Less time to create a new thread tha

What is degree of multiprogramming?, What is degree of multiprogramming ? ...

What is degree of multiprogramming ? Degree of multiprogramming signifies the number of processes in memory. If the degree of Multiprogramming is steady after that the average

Define some language processors, Define Name of some language processors?  ...

Define Name of some language processors?   Name of some language processors are as follow: Assembler, Compiler and Interpreter

Intranet, how intranet can make your business effective

how intranet can make your business effective

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd