virt: vbox: Add a few new vmmdev request types to the userspace whitelist
authorHans de Goede <hdegoede@redhat.com>
Thu, 9 Jul 2020 12:08:56 +0000 (14:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2020 11:45:32 +0000 (13:45 +0200)
commit316b0035402f05fe9e9e5334d1ff65dae285cb7c
tree9767fda3282987cca8ecea66eead3097d4f79f3b
parent631beddc5466731b048263a4a9d3d67150e72f8d
virt: vbox: Add a few new vmmdev request types to the userspace whitelist

Upstream VirtualBox has defined and is using a few new request types for
vmmdev requests passed through /dev/vboxguest to the hypervisor.

Add the defines for these to vbox_vmmdev_types.h and add add them to the
whitelists of vmmdev requests which userspace is allowed to make.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1789545
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200709120858.63928-7-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/virt/vboxguest/vboxguest_core.c
include/uapi/linux/vbox_vmmdev_types.h