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 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=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 1C5D4C433ED for ; Fri, 9 Apr 2021 03:12:59 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 526FE610CF for ; Fri, 9 Apr 2021 03:12:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 526FE610CF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=aoq5IAjwpjXdlYVA0r7BxWzt9MQOGSjTZ0iw7+0He+k=; b=GxMGojQJu6APJiZ3PJgMHmzBt AzwesfztOoDaswA+TO89UoyjC5hYyHoXl/UzAhDnYjfjyYlcAg+jYluNJjoVHxefEQZIF/FtY6eb9 46e1RGxNzbNkExyecbZx6dA5JeT5KXDc1oQoNYsrE0QdCehUTCJxtIwDqbVWC0RKAmK3ftwPRaIqa d+gHydjYnVFn+iuZJf+VPufgA+qXxO34j85lX/3Mkpldu3cge48K1rUESZ+YEKWLDRHEl/cnR38rz q/BYWR5bmBi5X4O5fXjFtiSZEPB72zojEFV0qYLxEe3dDym92GRHa1f6HJvNE633e8hoOZseu+rMe e6SNX3aAA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUhXz-009ndO-VX; Fri, 09 Apr 2021 03:11:07 +0000 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUhWj-009nSO-F5 for linux-arm-kernel@lists.infradead.org; Fri, 09 Apr 2021 03:09:53 +0000 Received: by mail-pj1-x102c.google.com with SMTP id bg21so2207459pjb.0 for ; Thu, 08 Apr 2021 20:09:44 -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=h3qugoBVhoSvQc7uCDbV1w080rQBFnQqxmVjoNDOL0B+/S3ruZUzPvoWsRmvDOaZwU SH4IlifikqQCLNpQsCquFcK/BNsKI+kA5XD3sleZzwXDyGS/Yt2a3Tidu57UbOBP2inl HVsBBlJl5IU92HXX4e8MIzGYAea6+3qQNicgTQgupkVQSDvpe8xoOMof73gFMVrUsDHO GknE8TIdKCvrhvtCJzJxVswchWOmqm36wlDnBANKyFI+xB1HnlcXQaquV/03KdcFMeQw T5pwx7+9a5CJA3yvNeMYBa7uTdR4qHsGPoJ0+Sf9/GWA4xbDVK/CO6e/uKs412rKWhix 3EjQ== X-Gm-Message-State: AOAM531FRf7cCJcZK4p4M+DtHQvsx0tKqOIkZJCH6ZtWWbIyISm/FYna cO5Wq5qbv8KtycfBvH3szOdp+w== 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-Disposition: inline In-Reply-To: <20210407053419.449796-11-gregkh@linuxfoundation.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210409_040950_001175_6335352C X-CRM114-Status: GOOD ( 13.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel