Question: 3. A system has a 3 ring security model similar to that discussed in class. Ring 0 is used for a hypervisor, HV, managing

3. A system has a 3 ring security model similar to that

 

3. A system has a 3 ring security model similar to that discussed in class. Ring 0 is used for a hypervisor, HV, managing virtual machines, Ring 1 is used for the O/S kernel of any of the virtual machines running, and Ring 2 is used by applications running in those virtual machines. Assume you have AppA running on Linux in VmA and AppB running on BSD on VmB on the above system. AppB and AppA have opened a network socket between them and have can use system calls to read from and write from the socket, readSock() and writeSock(). a) AppA perfoms a writeSock() system call. What happens in terms of the system call interface and the ring values? b) What must happen for the data to be transferred between VMs? (in terms of rings) c) Assume AppB is waiting for data having called readSock(). What does the BSD kernel have to do to get the data to AppB.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a When AppA performs a writeSock system call it initiates a request to write data to the network socket The system call interface allows the applicati... 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

Students Have Also Explored These Related Operating System Questions!