kernel - Fix improper user-space access in sys___semctl()
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 14 Oct 2016 16:32:12 +0000 (09:32 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 14 Oct 2016 16:32:12 +0000 (09:32 -0700)
commitb5eb2428f469c4a733353f2d39f50c4a39c14996
tree48674e5820cad7cea1950d6f5c9324046d4a005e
parent6e31eb984a2f2d530700056c73b2eb175804398a
kernel - Fix improper user-space access in sys___semctl()

* Fix an improper user-space access in sys__semctl()

* Fix an improper kernel-space access that was using
  a user-supplied pointer.

Reported-by: Mateusz Kocielski - LogicalTrust
sys/kern/sysv_sem.c