Ring Level

image.png
A resource that is accessible to outer level is also accessible to inner level.

Modes

  1. Supervisor Mode : 
  2. Hypervisor Mode : 
  • LinuxmacOS and Windows are three operating systems that use supervisor/user mode. To perform specialized functions, user mode code must perform a system call into supervisor mode or even to the kernel space where trusted code of the operating system will perform the needed task and return the execution back to the userspace. Additional code can be added into kernel space through the use of loadable kernel modules, but only by a user with the requisite permissions, as this code is not subject to the access control and safety limitations of user mode.

  • Syscall