Modify prototype of filetable_dump() to accept an array
Fix off-by-one process ID bug in getprocess() error checking
Repair status address validity check in sys_waitpid()
Add an additional check in resolvefd() for negative file descriptors