linux-stable/drivers/virt
Hans de Goede cf4f2ad6b8 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
Userspace can make host function calls, called hgcm-calls through the
/dev/vboxguest device.

In this case we should not accept all hgcm-function-parameter-types, some
are only valid for in kernel calls.

This commit adds proper hgcm-function-parameter-type validation to the
ioctl for doing a hgcm-call from userspace.

Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-25 21:52:40 +02:00
..
vboxguest virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace 2019-04-25 21:52:40 +02:00
fsl_hypervisor.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
Kconfig virt: Add vboxguest driver for Virtual Box Guest integration 2017-12-18 16:12:22 +01:00
Makefile virt: Add vboxguest driver for Virtual Box Guest integration 2017-12-18 16:12:22 +01:00