Describe the mechanisms by which an operating system protects a user process use of system resources (CPU, memory, IO) from accidental or deliberate interference by
Describe the mechanisms by which an operating system protects a user process’ use of system resources (CPU, memory, IO) from accidental or deliberate interference by other processes. Indicate what special hardware, if any, is required for each mechanism. [6 marks]
(b) Inter-Process Communication (IPC) requires that two processes on the same host can somehow share information directly. Why does this require special support in the operating system? Compare the following IPC mechanisms in terms of how easily they support interaction between processes: UNIX signals, pipes, named pipes. [6 marks]
(c) In UNIX, files are usually protected using access control lists, with the access control check carried out when the file is opened. What would be the trade-off if the access control check were instead performed when the file was written or read? Describe how you might implement a capability system to protect files from access, give a possible API, and compare your proposal to the UNIX access control method. [8 marks]
Step by Step Solution
3.39 Rating (149 Votes )
There are 3 Steps involved in it
Step: 1
The detailed answer for the above question is provided below a There are several mechanisms that an operating system can use to protect a user process use of system resources from interference by othe...See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started