kernel - Remove improper direct user-space access
commit161b332c2485fb96ef18e83f8ba1301203e82488
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 18 May 2019 16:31:26 +0000 (18 09:31 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 18 May 2019 16:31:26 +0000 (18 09:31 -0700)
tree66fef3a4965168d0a1d965dc661cd9d35af739ac
parent2a7bd4d84ab6a1cff364e4331211d1184dafa0cf
kernel - Remove improper direct user-space access

* chroot_kernel() (a privileged system call) was improperly
  callin kprintf() with a direct user address.  Just remove
  the kprintf().

Reported-by: tdfbsd
sys/kern/vfs_syscalls.c