forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/pvm: Disable some unsupported syscalls and features
n the PVM guest, the LDT won't be loaded into hardware, rendering it ineffective. Consequently, the modify_ldt() syscall should be disabled. Additionally, the VSYSCALL address is not within the allowed address range, making full emulation of the vsyscall page unsupported in the PVM guest. It is recommended to use XONLY mode instead. Furthermore, SYSENTER (Intel) and SYSCALL32 (AMD) are not supported by the hypervisor, so they should not be used in VDSO. Suggested-by: Lai Jiangshan <[email protected]> Signed-off-by: Hou Wenlong <[email protected]>
- Loading branch information
Showing
3 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters