From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 652FEC433ED for ; Fri, 9 Apr 2021 03:09:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 320A3600D1 for ; Fri, 9 Apr 2021 03:09:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233184AbhDIDKG (ORCPT ); Thu, 8 Apr 2021 23:10:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233306AbhDIDJz (ORCPT ); Thu, 8 Apr 2021 23:09:55 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7440FC061762 for ; Thu, 8 Apr 2021 20:09:43 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id t23so2178726pjy.3 for ; Thu, 08 Apr 2021 20:09:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=aGjpPdHjbikhUUHMN/hFWeNzd7WisbqRaJNjGgjQHk4=; b=f6XyQdchZKxJJHvj5afdCGghuryVbmtGteA9ENz/eIqYYPzKdD5v9v04MJTus4RJS/ hMmqW0kcTy+qkM829/735O5HTeyc0/vCJuDPcZ06DWpD9AsUzEqMGBDbkAc3TqlHlTQd ETyMB3ICC1lDt3H4kHYCwr3ATSqfcv7cDk5K8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=aGjpPdHjbikhUUHMN/hFWeNzd7WisbqRaJNjGgjQHk4=; b=disdPu2xPSE5mC9rttEwh+E64uKWrogoMYORuv3RH/8JI9Twj1iJI9SKi23AemjGHx 9dEiN1EsBbo71Z4g5K6Q4FOEqYJBCJmZg3e98PvncrMa52qSTH4D6ImkP6jh+qz2Jp1l dbqm9+vHVyCvcH29e/LPNs4L1UBG364pCjA5FEiDTyUSPEUzvoSmxndJ5jAxDdYf6xqk e83HQoSMV7iLSXKXqzoiN+z5GGea91s3DE35UFiEksLD1AWVlQT8TiZbZa/R0vhlQ3Hx XllhftSQ6nk8CA+yapyJb0U/78WqxPiCe0jwDx45NFd9Jq1IuNSdPqr5nATzxUu5t++a mEjg== X-Gm-Message-State: AOAM530z2nXaAUJ3/NTJa6PGYHipkdLgemE5UBnssmbEfQtFyeZLUTpa tKv8sdn9tQLQOAXhEeX8OMpyzw== X-Google-Smtp-Source: ABdhPJyKtgFSKPJk1xkQBwFjg8Td3IauMVaVd48bNIAS1NFLnWN1JzZCJ0wGKi6CJMSgvcE3ZN2QFQ== X-Received: by 2002:a17:90b:f04:: with SMTP id br4mr11796658pjb.99.1617937783065; Thu, 08 Apr 2021 20:09:43 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id em16sm621526pjb.43.2021.04.08.20.09.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 20:09:42 -0700 (PDT) Date: Thu, 8 Apr 2021 20:09:41 -0700 From: Kees Cook To: Greg Kroah-Hartman Cc: Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 10/20] kbuild: arm: use common install script Message-ID: <202104082009.5334E9CA@keescook> References: <20210407053419.449796-1-gregkh@linuxfoundation.org> <20210407053419.449796-11-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210407053419.449796-11-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 07:34:09AM +0200, Greg Kroah-Hartman wrote: > The common scripts/install.sh script will now work for arm, all that > is needed is to add the compressed image type to it. So add that file > type check and the ability to call /sbin/loadmap after copying the > kernel. With that we can remove the arm-only version of the file. > > Cc: Russell King > Cc: Greg Kroah-Hartman > Cc: linux-arm-kernel@lists.infradead.org > Signed-off-by: Greg Kroah-Hartman Reviewed-by: Kees Cook -- Kees Cook