2

In solutions to a question on the book "Operating Systems Concepts" it indicates that issuing a trap not a privileged task. Why is that so?

Jolta
  • 2,620
  • 1
  • 29
  • 42
Alexander Suraphel
  • 10,103
  • 10
  • 55
  • 90

2 Answers2

3

Some instructions need special privileges to run at all, which most of the time means only the OS gets to execute them.

Most user processes (programs) will need to issue a trap / exception to get the OS to run these instructions.

ChristopheD
  • 112,638
  • 29
  • 165
  • 179
2

If it were a privileged operation, it wouldn't be possible for a process to issue a system call.

cnicutar
  • 178,505
  • 25
  • 365
  • 392