Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A system has a 3 ring security model. Ring 0 is used for a hypervisor, HV, managing virtual machines, Ring 1 is used for the

A system has a 3 ring security model. 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. 

Assuming we 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

3.38 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

a When AppA performs a writeSock system call the following happens in terms of the system call inter... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Operating System questions