Protection key: Difference between revisions

From Computer History Wiki
Jump to navigationJump to search
Slowly getting rid of red links... :-)
 
m +cat
 
Line 4: Line 4:


{{semi-stub}}
{{semi-stub}}
[[Category: CPU Hardware]]

Latest revision as of 19:35, 15 December 2018

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.