Don't panic on invalid syscall numbers
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 10 Jun 2014 21:00:47 +0000 (14:00 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 10 Jun 2014 21:00:47 +0000 (14:00 -0700)
commit1e441414acfc84e957b4069249ab6742c9230ade
tree5262b21d3640936bb66d65c130721297425fd938
parentc14ac438b2dd7c1863024cd70b9aac3525e6e039
Don't panic on invalid syscall numbers

It's a user bug, not a kernel bug.  We print out some helpful things to debug
userspace too.
kern/include/syscall.h
kern/src/syscall.c