Privilege Level

A privilege level in the x86 instruction set controls the access of the program currently running on the processor to resources such as memory regions, I/O ports, and special instructions. There are 4 privilege levels ranging from 0 which is the most privileged, to 3 which is least privileged. Most modern operating systems use level 0 for the kernel/executive, and use level 3 for application programs. Any resource available to level n is also available to level 0..n, so the privilege levels are "rings".

It is not necessary to use all four privilege levels. Existing software that was designed to use only one or two levels of privilege can simply ignore the other levels offered by the 80386 and later processors. A one-level system should use privilege level zero; a two-level system should use privilege levels zero and three. Here level zero is called the Supervisor mode while level three is User mode. All versions of Windows below Windows XP use only the two-level system. The real mode programs in 8086 are executed at level 0 (highest privilege level)whereas virtual mode in 8086 executes all programs at level 3.

Read more about Privilege LevelSee Also

Other articles related to "privilege level, privilege, privilege levels":

Interrupt Flag - Privilege Level - Old DOS Programs
... There are few satisfactory resolutions to this issue ... It is usually not possible to modify the program as source code is typically not available and there is no room in the instruction stream to introduce a STI without massive editing at the assembly level ...
X86 Memory Segmentation - Protected Mode - Detailed Segmentation Unit Workflow
... That selector consists of a 2-bit Requested Privilege Level (RPL), a 1-bit Table Indicator (TI), and a 13-bit index ... It then performs the privilege check max(CPL, RPL) ≤ DPL where CPL is the current privilege level (found in the lower 2 bits of the CS register), RPL is the requested privilege level from the segment ... All privilege levels are integers in the range 0–3, where the lowest number corresponds to the highest privilege ...

Famous quotes containing the words level and/or privilege:

    To punish drug takers is like a drunk striking the bleary face it sees in the mirror. Drugs will not be brought under control until society itself changes, enabling men to use them as primitive man did: welcoming the visions they provided not as fantasies, but as intimations of a different, and important, level of reality.
    Brian Inglis (b. 1916)

    There is the falsely mystical view of art that assumes a kind of supernatural inspiration, a possession by universal forces unrelated to questions of power and privilege or the artist’s relation to bread and blood. In this view, the channel of art can only become clogged and misdirected by the artist’s concern with merely temporary and local disturbances. The song is higher than the struggle.
    Adrienne Rich (b. 1929)