userland(用户态/用户空间):指操作系统中普通用户程序运行的环境与代码范围,和内核直接运行的kernel space(内核态/内核空间)相对。常见于 Linux/Unix 语境。也可泛指“由用户层软件构成的系统部分”(如各种命令行工具、库、服务等)。
/ˈjuːzərlænd/
Userland programs cannot directly access hardware devices.
用户态程序不能直接访问硬件设备。
When the vulnerability was discovered, the attacker moved from userland to the kernel to gain full control of the system.
当这个漏洞被发现后,攻击者从用户态进一步进入内核,以获得对系统的完全控制。
userland 是计算机领域的合成词,由 user(用户)+ land(“领域/地带”,在英语中常用于比喻某个范围或世界,如 wonderland)构成,形象地表示“用户层活动的地盘/范围”。该词在 Unix/Linux 社区中逐渐固定,用来区分与 kernel 相关的部分。