lkml.org 
[lkml]   [2018]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] KVM: arm64: vgic-its: Remove VLA usage
    On Fri, Jun 29, 2018 at 8:46 PM, Kees Cook <keescook@chromium.org> wrote:
    > In the quest to remove all stack VLA usage from the kernel[1], this
    > switches to using a maximum size and adds sanity checks. Additionally
    > cleans up some of the int-vs-u32 usage and adds additional bounds checking.
    > As it currently stands, this will always be 8 bytes until the ABI changes.
    >
    > [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
    >
    > Cc: Christoffer Dall <christoffer.dall@arm.com>
    > Cc: Marc Zyngier <marc.zyngier@arm.com>
    > Cc: Eric Auger <eric.auger@redhat.com>
    > Cc: Andre Przywara <andre.przywara@arm.com>
    > Cc: linux-arm-kernel@lists.infradead.org
    > Cc: kvmarm@lists.cs.columbia.edu
    > Signed-off-by: Kees Cook <keescook@chromium.org>


    Looks good to me.

    Arnd

    \
     
     \ /
      Last update: 2018-06-29 23:25    [W:3.875 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site