Installing Your Own Trap
A student proposes a new instruction, settrap, that any process may execute to register its own handler address for a chosen trap number. They argue it is safe because the kernel still validates the syscall number inside the handler, and because the handler address must point into the calling process's own address space.
What breaks?
Sign in to answer questions and track your progress
Sign In