how does the distiniction between kernel mode and user mode function as a rudimentary form of protection or security system
Answers
Kernel Mode:
- It is mandatory that certain instructions must be executed only when the operating system is in kernel mode.
- Access to hardware Devices can be done only when the program is executing in kernel mode.
- Interrupts can be controlled only when the CPU is executing in kernel mode.
- The privileged instructions can be executed only when the CPU is in kernel mode.
User Mode:
- When the CPU is executing in user mode, its capacity is limited.
- Executing privileged instructions in user mode will cause a trap to the operating system. So, dual mode of operation provides a rudimentary form of protection. provided by vendors. As many vendors provide mail programs and web browsers along with operating systems, they are also included in operating systems.