diff options
author | Atish Patra <[email protected]> | 2022-04-19 18:32:58 -0700 |
---|---|---|
committer | Anup Patel <[email protected]> | 2022-04-20 14:24:32 +0530 |
commit | 38d9a4ac65f204f264b33b966f0af4366f5518a8 (patch) | |
tree | 680b1b3dcd93f8db37807794cc644b86f6610e37 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 3ab75a793e4939519d288ef1994db73b8e2d1d86 (diff) |
RISC-V: KVM: Restrict the extensions that can be disabled
Currently, the config isa register allows us to disable all allowed
single letter ISA extensions. It shouldn't be the case as vmm shouldn't
be able to disable base extensions (imac).
These extensions should always be enabled as long as they are enabled
in the host ISA.
Signed-off-by: Atish Patra <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Fixes: 92ad82002c39 ("RISC-V: KVM: Implement
KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctls")
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions