devproc: Remove unused or dangerous commands
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 9 Feb 2017 17:20:21 +0000 (12:20 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 9 Feb 2017 17:31:44 +0000 (12:31 -0500)
commit97e01083bb391013b4b9b75c11898246fdd23152
treed1389862a7888c07e208421db45e7c6757bee7c3
parente9a0a85877779fe50108309c69aaaa2ba17e9f15
devproc: Remove unused or dangerous commands

Most of those commands had no implementation.  CMkill looked extremely
dangerous.

Regarding the nr_args change for hang and closefiles, saying '1' is
confusing.  0 means 'don't check.'  Otherwise, make sure they have N
args.  However, this includes the ctl command.  So all commands have
nr_args >= 1.  I screwed that up with CMstrace_drop at first.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/proc.c