In any Operating System, it is necessary to have a Dual Mode Operation to ensure the protection and security of the System from unauthorized or errant users.
Why is privileged instructions needed?
The privileged instructions are mainly used by the Operating System to achieve correct operation.
Why is it important for an operating system to have kernel mode and user mode?
Necessity of Dual Mode (User Mode and Kernel Mode) in Operating System. A running user program can accidentaly wipe out the operating system by overwriting it with user data. Multiple processes can write in the same system at the same time, with disastrous results.
Why does an operating system require dual mode?
The dual-mode operations in the operating system protect the operating system from illegal users. We accomplish this defense by designating some of the system instructions as privileged instructions that can cause harm.
What is privileged mode in operating system?
1. Privileged mode. In this mode, software executes with unrestricted privileges. In this mode of execution, the CPU allows software to access all hardware resources. The entire Linux kernel executes in this mode.