Question: Consider a variant of the k-bit key and lock scheme described for memory protection whereby a process can access memory blocks for which every bit

Consider a variant of the k-bit key and lock scheme described for memory protection whereby a process can access memory blocks for which every bit position set to 1 within the lock is also set to 1 in the process’s key.

a. How many unique locks are in the system?

b. Characterize all keys that access a memory block with the lock 01100110 for k = 8.

c. Show how this mechanism can be used to allow a process B to keep some memory blocks private, to share some with process A, and to share others with process C (but for which A and C do not share any memory blocks).

Step by Step Solution

3.42 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is a solution a In a kbit scheme there are only k unique locks b Any key w... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

34-E-CE-OS (546).docx

120 KBs Word File

Students Have Also Explored These Related Computer Engineering Questions!