User space

User space

:"kernel space" redirects here. For mathematical definition, see null space."

A conventional operating system usually segregates virtual memory into kernel space and user space. Kernel space is strictly reserved for running the kernel, kernel extensions, and some device drivers. In most operating systems, kernel memory is never swapped out to disk. In contrast, user space is the memory area where all user mode applications work and this memory can be swapped out when necessary. The term "userland" is often used for referring to operating system software that runs in user space.

Each user space process normally runs in its own virtual memory space, and, unless explicitly requested, cannot access the memory of other processes. This is the basis for memory protection in today's mainstream operating systems, and a building block for privilege separation. Depending on the privileges, processes can request the kernel to map part of another process's memory space to its own, as is the case for debuggers. Programs can also request shared memory regions with other processes.

Another approach taken in experimental operating systems, is to have a single address space for all software, and rely on the programming language's virtual machine to make sure that arbitrary memory cannot be accessed — applications simply cannot acquire any references to the objects that they are not allowed to access. [ [http://unununium.org/ What kind of kernel does Unununium have?] ] This approach has been implemented in JXOS, Unununium as well as Microsoft's Singularity research project.

See also

* Userland (computing)
* Memory protection
* Ring (computer security)
* CPU modes

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • User-Space — Schema der Ringe beim x86 System mit Gates zur Kommunikation Der Ring, auch Domain genannt, bezeichnet im Umfeld der Betriebssystem Programmierung und des Multitaskings eine Privilegierungs bzw. Sicherheitsstufe eines Prozesses. Diese schränkt… …   Deutsch Wikipedia

  • user-space — ● ►en adj. ►ARGOT Litt. espace de l utilisateur . Caractérise tout ce qui est accessible par l utilisateur de base, par opposition aux ressources dont l accès est restreint aux administrateurs. Comparable à l userland, mais en moins souvent… …   Dictionnaire d'informatique francophone

  • Plan 9 from User Space — Saltar a navegación, búsqueda Para otros usos de este término, véase Plan 9. Plan 9 from User Space (o plan9port o p9p) es un port de varias bibliotecas y aplicaciones del sistema Plan 9 from Bell Labs a sistemas UNIX y similares. Actualmente ha… …   Wikipedia Español

  • Early user space — is used on newer versions of the Linux kernel to replace as many functions as possible that would have originally been done in the kernel during the start up process. Typical uses of early user space are to detect what device drivers are needed… …   Wikipedia

  • Plan 9 from User Space — (or plan9port or p9p) is a port of many Plan 9 from Bell Labs libraries and applications to Unix like operating systems. Currently it has been tested on a variety of operating systems including: Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD,… …   Wikipedia

  • User-mode Linux — (UML) allows multiple virtual Linux systems (known as guests) to run as an application within a normal Linux system (known as the host). As each guest is just a normal application running as a process in user space, this approach provides the… …   Wikipedia

  • User-mode Linux — (UML, Линукс пользовательского режима)  вариант ядра Linux, который позволяет запустить несколько виртуализованных Линукс систем (т. н. гостевых от англ. guests) в качестве обычных приложений в основной Linux‐системе (т. н.… …   Википедия

  • User Mode Linux — Pour les articles homonymes, voir UML. User Mode Linux ou UML est un noyau Linux compilé qui peut être exécuté dans l espace utilisateur comme un simple programme. Il permet donc d avoir plusieurs systèmes d exploitation virtuels sur une seule… …   Wikipédia en Français

  • Space heating — is the heating of a space, usually enclosed, such as a house or room. A space heater keeps the air and surroundings at a comfortable temperature for people or animals, or even plants in a greenhouse. Space heating generally warms a small space,… …   Wikipedia

  • User Account Control — UAC (User Account Control)  компонент Microsoft Windows, впервые появившийся в Windows Vista. Этот компонент запрашивает подтверждение действий, требующих прав администратора, в целях защиты от несанкционированного использования компьютера.… …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”