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

Taught in

References