Get premium membership and access questions with answers, video lessons as well as revision papers.

Why must the operating system be more careful when accessing input to a system call (or producing the result) when the data is in memory...

      

Why must the operating system be more careful when accessing input to a system call (or
producing the result) when the data is in memory instead of registers?

  

Answers


Faith
The operating system may access memory without restriction (as opposed to user mode where memory
access is highly regulated by the OS… we hope). When the data is in memory the OS must be careful to
ensure that it is only accessing data that it needs to, since carelessness might result in overwriting data
pertaining to still-running user mode functions, breaking their operating when the OS shifts scope from
kernel mode back to user mode.
Titany answered the question on April 25, 2022 at 13:50


Next: Aruna Ltd. is evaluating an investment project which requires the importation of a new machine at a cost of sh. 2,700,000. The machine has a...
Previous: Is putting security checks in the C library a good or a bad idea? Why?

View More Operating Systems Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions