[hypervisor][x86] Check CPL when handling a VMCALL Only allow guest CPL 0 to make a hypercall. If anything other than the guest kernel attempts a VMCALL, return NOT_PERMITTED. Bug: b/154791063 Change-Id: I08d7f0d00df002ef90bb9be14c52697027df03bb Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/383975 Testability-Review: Abdulla Kamar <abdulla@google.com> Reviewed-by: Venkatesh Srinivas <venkateshs@google.com> Commit-Queue: Abdulla Kamar <abdulla@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.