How does the distinction between kernel mode and user mode function as a rudimentary form of protection(security) system?
The distinction between kernel mode and user mode provides a rudimentary form of protection in the following manner. Certain instructions could be executed only when the CPU is in kernel mode. Similarly, hardware devices could be accessed only when the program is executing in kernel mode. Control over when interrupts could be enabled or disabled is also possible only when the CPU is in kernel mode. Consequently, the CPU has very limited capability when executing in user mode, thereby enforcing protection of critical resources.
How does the distinction between kernel mode and user mode function as a rudimentary form of protection(security) system?
Reviewed by Pappy
on
July 27, 2019
Rating:
No comments: