diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-04-04 14:39:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 21:52:40 +0200 |
commit | cf4f2ad6b87dda2dbe0573b1ebeb0273f8d4aac6 (patch) | |
tree | 6d6f2399b6caefb9b2ebf7177652fb3d4150698b /mm/percpu-vm.c | |
parent | 0b0509508beff65c1d50541861bc0d4973487dc5 (diff) | |
download | linux-cf4f2ad6b87dda2dbe0573b1ebeb0273f8d4aac6.tar.bz2 |
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>
Diffstat (limited to 'mm/percpu-vm.c')
0 files changed, 0 insertions, 0 deletions