Re: [PATCH v2 04/20] KVM: arm64: Rely on index_to_param() for size checks on userspace access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 14, 2022 at 8:20 AM Marc Zyngier <maz@xxxxxxxxxx> wrote:
>
> index_to_param() already checks that we use 64bit accesses for all
> registers accessed from userspace.
>
> However, we have extra checks in other places, which is pretty
> confusing. Get rid on these checks.
>
> Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>

Reviewed-by: Reiji Watanabe <reijiw@xxxxxxxxxx>
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux