CS FundamentalsModerateGATE CS · Amazon/Microsoft SDE MCQ

Which of these must a process NOT be able to do in user mode on a typical protected OS?

  1. A. Read the time-stamp counter on a typical x86 setup
  2. B. Load a new value into the page-table base register
  3. C. Execute a trap instruction to request a system call
  4. D. Do an integer division by a variable divisor

Correct answer: B. Load a new value into the page-table base register

Loading the page-table base (e.g. CR3) would let a process remap memory at will, so it is privileged. Traps are how user code enters the kernel, and ordinary arithmetic is unprivileged.

More Operating Systems questions

Exams that ask this topic