diff options
author | Hans de Goede <[email protected]> | 2020-07-09 14:08:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-10 13:40:19 +0200 |
commit | 59d1d2e8e1e7c50d2657d5e4812b53f71f507968 (patch) | |
tree | 268cc127e5f93107afe0a1ebd0c19ad94fc86f5d /arch/powerpc/lib/code-patching.c | |
parent | f794db6841e5480208f0c3a3ac1df445a96b079e (diff) |
virt: vbox: Fix guest capabilities mask check
Check the passed in capabilities against VMMDEV_GUEST_CAPABILITIES_MASK
instead of against VMMDEV_EVENT_VALID_EVENT_MASK.
This tightens the allowed mask from 0x7ff to 0x7.
Fixes: 0ba002bc4393 ("virt: Add vboxguest driver for Virtual Box Guest integration")
Cc: [email protected]
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions