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 76B33C433ED for ; Fri, 9 Apr 2021 03:08:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 483D5610CC for ; Fri, 9 Apr 2021 03:08:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233178AbhDIDJE (ORCPT ); Thu, 8 Apr 2021 23:09:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232926AbhDIDJD (ORCPT ); Thu, 8 Apr 2021 23:09:03 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BB43C061762 for ; Thu, 8 Apr 2021 20:08:51 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id t22so2850052pgu.0 for ; Thu, 08 Apr 2021 20:08:51 -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=h3/zuAkLa/ADOI4qQOD5EyWX5f7zNMFVEr3AGRbxlzs=; b=Qu68/UtbNay6Ey8RBiWsqTf7H769Hs16vmlRffRA305itJafW9w8eOhm2Ks/ZI5lRW MO6vcAGxVhQDBFf6O80cqlCf31Ae8d44QgEsiuUOhKnoHv8NjDmFO8f8sZ2dcabZROgI LSWCTwdC7ovN6o7lj2OP2rTjHyPpV+ySSgqD0= 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=h3/zuAkLa/ADOI4qQOD5EyWX5f7zNMFVEr3AGRbxlzs=; b=lvd/fXoSJg63qDb86gY8c/Le1g9zcjrD6ryrlyJs48vuBt/S0f+cQOP4gAVO8gPvAo F1OrieHWXmlS/MBhRHmTPFU7Uxm7s31RyxLu/0B+bi5d6sX+n40pqnHUhTQ6NGL5BAgA Hsq2HRApBHOhIG7WSQ9uNowu7p9Rb1q6ZXn8BFjipcaMegZUzeku9ZnASCJEO43gyZ2e 2TxqzrfeeNgqZxbJ7UYuKdd8LsfYeHX77qR/I1rV08dXxB+PHMCA7+Avk+OpsI7nZidG 29Ma6syyFSy6hY7ha2QnlQryvsHbJ8wM2hLNY0ckXHsLqPcQ9YKaHGbTh/osEft2y8yS d0bQ== X-Gm-Message-State: AOAM533YE50OyLiy1+ipwhq0ZN+J+epP24sMt56dY+Z0ZImzKylqjzom X+nPMeowPVzL+r4NAsd16UkaWw== X-Google-Smtp-Source: ABdhPJwHogY0DATf5duyo92TJZmtUJWTBk3mjGIjRNGLYYG5MoEeyaiDAuLca/mdUjjXd4N5OWUM5w== X-Received: by 2002:a63:390:: with SMTP id 138mr11306786pgd.8.1617937730705; Thu, 08 Apr 2021 20:08:50 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id i14sm625160pgk.77.2021.04.08.20.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 20:08:50 -0700 (PDT) Date: Thu, 8 Apr 2021 20:08:49 -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 Subject: Re: [PATCH 05/20] kbuild: scripts/install.sh: prepare for arch-specific bootloaders Message-ID: <202104082008.25EB080@keescook> References: <20210407053419.449796-1-gregkh@linuxfoundation.org> <20210407053419.449796-6-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210407053419.449796-6-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 07:34:04AM +0200, Greg Kroah-Hartman wrote: > Despite the last release of LILO being in 2015, it seems that it is > still the default x86 bootloader and wants to be called to "install" the > new kernel image when it has been replaced on the disk. To allow > arch-specific programs like this to be called in future changes, move > the logic to an arch-specific test now. > > Signed-off-by: Greg Kroah-Hartman Reviewed-by: Kees Cook -- Kees Cook