Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: I saw a similar question to part II get answered by a guy who just posted a graph. Please provide an answer in words,

Note: I saw a similar question to part II get answered by a guy who just posted a graph. Please provide an answer in words, or I will thumbs down automatically.

image text in transcribed

uestion # 4 I.If a user program needs to perform IO, it needs to trap the OS via a system call that transfers control to the kernel. The kernel performs I/O on behalf of the user program. However, systems calls have added overheads, which can slow down the entire system. In that case, why not let user processes perform I/O directly, without going through the kernel? Consider a computer running in the user mode. It will switch to the monitor mode whenever an interrupt or trap occurs, jumping to the address determined from the nterrupt vector A smart, but malicious, user took advantage of a certain serious loophole in the computer's protection mechanism, by which he could make run his own user program in the monitor mode! This can cause disastrous effects What could have he possibly done to achieve this? What disastrous effects could it cause? Suggest a remedy for the loophole

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

Students also viewed these Databases questions