mechanism and policy
A design split where one layer provides a capability (the mechanism) and another decides how it is used (the policy).
In more detail
On Linux the kernel provides mechanisms such as processes, permissions and sockets, while user space and the distribution decide policy: which services start, which packages are trusted, who may run what. Keeping the two apart is why one kernel can serve many distributions. When troubleshooting, ask whether a failure is a missing mechanism or a policy that refused the request.
Related terms
- kernel — The core of an operating system that controls the hardware and decides what every program is allowed to do.
- userland — Everything in an operating system except the kernel: the libraries, tools, shell and files programs use.
- Linux distribution — A complete operating system built around the Linux kernel, such as Debian, Ubuntu or Alpine Linux.
Taught in
- What A Kernel Does, And What It Refuses To Do — Linux Fundamentals & Systems Administration
- What A Distribution Actually Is — Linux Fundamentals & Systems Administration