kern - Add D_MEM flag to /dev/mem and /dev/kmem character devices.
commit7e81bb374d263400b16daa9a11d684287db36e78
authorImre Vadász <imre@vdsz.com>
Mon, 5 Feb 2018 20:24:11 +0000 (5 21:24 +0100)
committerImre Vadász <imre@vdsz.com>
Sun, 18 Feb 2018 10:05:15 +0000 (18 11:05 +0100)
tree87a1893380cb80a6b7b0829d9c20f30c17dbc886
parent131acb0380e93664f106117ebf8ba322a3d1b7c4
kern - Add D_MEM flag to /dev/mem and /dev/kmem character devices.

* This makes seeking actually work on these character devices, which fixes
  performance of various tools when reading from /dev/mem or /dev/kmem.
sys/kern/kern_memio.c