Skip to content

Why system calls are checked so carefully

A system call receives a pointer from a user process and the kernel must read the memory it points to.

Why can the kernel not simply dereference it?