From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb0-x241.google.com (mail-yb0-x241.google.com [IPv6:2607:f8b0:4002:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41WjMt1gt5zDqCs for ; Fri, 20 Jul 2018 04:34:00 +1000 (AEST) Received: by mail-yb0-x241.google.com with SMTP id x15-v6so3656030ybm.2 for ; Thu, 19 Jul 2018 11:34:00 -0700 (PDT) MIME-Version: 1.0 Sender: keescook@google.com In-Reply-To: <8736wfctdl.fsf@concordia.ellerman.id.au> References: <20180629185254.GA37557@beast> <8736wfctdl.fsf@concordia.ellerman.id.au> From: Kees Cook Date: Thu, 19 Jul 2018 11:33:57 -0700 Message-ID: Subject: Re: [PATCH] powerpc/msi: Remove VLA usage To: Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , Andrew Morton , Randy Dunlap , Tyrel Datwyler , Rob Herring , Ingo Molnar , PowerPC , LKML Content-Type: text/plain; charset="UTF-8" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Jul 19, 2018 at 5:17 AM, Michael Ellerman wrote: > Kees Cook writes: > >> On Fri, Jun 29, 2018 at 11:52 AM, Kees Cook wrote: >>> In the quest to remove all stack VLA usage from the kernel[1], this >>> switches from an unchanging variable to a constant expression to eliminate >>> the VLA generation. >>> >>> [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com >>> >>> Signed-off-by: Kees Cook >> >> Friendly ping! Michael, can you take this? > > Yep, sorry. I actually applied it weeks ago but hadn't pushed. No worries! Thanks! :) -Kees -- Kees Cook Pixel Security