Allow devpermcheck() to check perms
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 20 Jan 2017 18:34:50 +0000 (13:34 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 20 Jan 2017 18:34:50 +0000 (13:34 -0500)
commite497c245533ec132e1a3200e6022dc70e10fb447
treec2a47aa186ac66ff92dfad695ddf6c2b78217bb1
parentf75b334e4f758fa719fb9e76af2129087ca869be
Allow devpermcheck() to check perms

Looks like we were avoiding checks, perhaps due to paranoia or old config
issues.  I checked a few things (VMs, snoopy), and this check didn't break
them.

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