Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
User space and kernel space
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== {{Anchor|USERLAND}}Overview == The term '''user space''' (or '''userland''') refers to all code that runs outside the operating system's kernel.<ref>{{cite web | url = http://www.catb.org/jargon/html/U/userland.html | title = userland, n. | work = The [[Jargon File]] | publisher = [[Eric S. Raymond]] | access-date = 2016-08-14}}</ref> User space usually refers to the various programs and [[library (computing)|libraries]] that the operating system uses to interact with the kernel: software that performs [[input/output]], manipulates [[file system]] objects, [[application software]], etc. Each user space [[process (computing)|process]] usually runs in its own [[virtual memory]] space, and, unless explicitly allowed, 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]]. A separate user mode can also be used to build efficient virtual machines β see [[Popek and Goldberg virtualization requirements|Popek and Goldberg's virtualization requirements]]. With enough privileges, processes can request the kernel to map part of another process's memory space to their own, as is the case for [[debugger]]s. Programs can also request [[Shared memory (interprocess communication)|shared memory]] regions with other processes, although other techniques are also available to allow [[inter-process communication]]. {{Linux layers}} {{Clear}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)