|
Message-ID: <CAMJs5B-VhREFk4qH+5we7JFtkx6CsKF+xN8mFg+2zSyc-DARYQ@mail.gmail.com> Date: Mon, 23 Oct 2017 16:49:07 +0200 From: Christoffer Dall <cdall@...aro.org> To: Paolo Bonzini <pbonzini@...hat.com> Cc: Kees Cook <keescook@...omium.org>, "kvmarm@...ts.cs.columbia.edu" <kvmarm@...ts.cs.columbia.edu>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>, KVM <kvm@...r.kernel.org>, "kernel-hardening@...ts.openwall.com" <kernel-hardening@...ts.openwall.com>, Radim Krčmář <rkrcmar@...hat.com>, Marc Zyngier <marc.zyngier@....com> Subject: Re: [PATCH] KVM: arm/arm64: Allow usercopy to vcpu->arch.ctxt and arm64 debug On Mon, Oct 23, 2017 at 4:14 PM, Paolo Bonzini <pbonzini@...hat.com> wrote: > On 22/10/2017 09:44, Christoffer Dall wrote: >> However, I think it's much clearer if I >> rewrite these to use get_user() and put_user(). v2 incoming. > > I'd actually prefer if you all do a trivial conversion to > kvm_init_usercopy to begin with. In fact, we could just change the > default from "0, 0" to "0, sizeof (kvm_arch_vcpu)" in kvm_init. Any > other change can be applied after the patches are merged to Linus's > tree, especially with KVM Forum and the merge window both coming soon. > In that case, expect no further action from me on this one until the patches have landed and I can resend my patch, unless you specifically tell me otherwise. Thanks, -Christoffer
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.