lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 24 Aug 2010 14:10:26 +0300 From: Avi Kivity <avi@...hat.com> To: x86@...nel.org, kvm@...r.kernel.org, Marcelo Tosatti <mtosatti@...hat.com>, linux-kernel@...r.kernel.org Subject: [PATCH 0/3] Trap and propagate divide errors when emulating DIV KVM recently started emulating DIV and IDIV. However, those instructions trap when given the right operands. Since figuring out when to trap or not is difficult, we just execute the instruction and see if the processor trapped or not. tip: please queue the first patch on fast-forward-only branch kvm.git can merge, or we can carry the patch in kvm.git with your ack. Avi Kivity (3): x86: allow kernel exception fixup for divide errors (#DE) KVM: x86 emulator: add macros for executing instructions that may trap KVM: x86 emulator: trap and propagate #DE from DIV and IDIV arch/x86/kernel/traps.c | 10 +++++++- arch/x86/kvm/emulate.c | 60 ++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 66 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists