Use the proper address space when using a kernel that supports
authorhelg <helg@openbsd.org>
Mon, 22 Jan 2018 13:16:48 +0000 (13:16 +0000)
committerhelg <helg@openbsd.org>
Mon, 22 Jan 2018 13:16:48 +0000 (13:16 +0000)
commitc37506c66d6f05949caaa3001f2687ef818fb7f4
tree69825ff85c1702b3168b027ce1d6b7728d2f9106
parent6dbb1aef80b240bedd329de82fe4031a191ed31a
Use the proper address space when using a kernel that supports
Supervisor Mode Access Prevention (SMAP) compiled with FUSE_DEBUG.
While here, add some sanity check to the debug function fuse_dump_buff.

Thanks to Thomas Jeunet.

OK mpi@, helg@
sys/miscfs/fuse/fuse_device.c