Protection key

From Computer History Wiki
Revision as of 18:10, 14 November 2018 by Jnc (talk | contribs) (Slowly getting rid of red links... :-))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Proection keys are a mechanism used in memory management on multi-user operating systems to prevent one user's buggy or malevolent program from damaging another user's data.

Generally, main memory is divided up into blocks, and each block is assigned a key; a user (generally a process) is assigned one or more keys. References to memory are checked to make sure the memory's key, and the user's key, match; if not, generally a trap will result.