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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 16CD6C433E7 for ; Tue, 13 Oct 2020 18:03:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B5A9E2539E for ; Tue, 13 Oct 2020 18:03:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602612215; bh=ZdabOmTJd4TzuNZj+GhBAWjpxu8eB+TtqLnoZkWEOvA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=ARUM/uloWNAtJjDSQ2ckCgSYomX3ypYSIE5YBr5ZJLPBVlSvvlmJrOdWGJirk/WNz BhvkRIpbP8AOau62IaZm8VTAAsTrqtXoFbmIrVMJWXiUYoIymnHgWwaTaUmYLs/Ykl j3c9C6ow/FOURgtDEov5ZpKakBx5HR4dA/0Ei/qI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727611AbgJMSDe (ORCPT ); Tue, 13 Oct 2020 14:03:34 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:53208 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbgJMSDe (ORCPT ); Tue, 13 Oct 2020 14:03:34 -0400 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 09DI38lq032478; Wed, 14 Oct 2020 03:03:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 09DI38lq032478 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1602612189; bh=ZdabOmTJd4TzuNZj+GhBAWjpxu8eB+TtqLnoZkWEOvA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=uD5HVMxgGO4iZvaNvk/wXJgAWJN+JL8+f4t9xnxaXjgLwubwBb0vNdrqzFsxSI5Tp mw/ajF4v0eCejHShgKnI4CKZ6V6so8rpZP/s8NJffh6C7P45FiDlbIOOEbZstRuEJx Wym+dFqtzsOE64byhNgcEZ421jwPgpoWnLMQVWfAWWM7lm6tOt6Q2/Kb8W++OnG6cI bczwuVU/4/GE+5S5LtDSmioxslSf6HdLEQt3wdzgQbvO0kmqvKb9MifXX9Oihwr+Fz mi3rSH8B0ULZqozqL38qpRQd2JzRg4CMy1oySqRwwoc6VIdR9w2ila+n2Rs1FIAsPD oYZfo7j4Tfn+w== X-Nifty-SrcIP: [209.85.210.174] Received: by mail-pf1-f174.google.com with SMTP id f19so241702pfj.11; Tue, 13 Oct 2020 11:03:08 -0700 (PDT) X-Gm-Message-State: AOAM5306Yg6MDyliuHADINA//6rf7HgDrjE3UkesDGLgNw1StjBprdsI l4H4r6jAoAAodOb7qq/jxv36KLlKUIbKsJE9BiA= X-Google-Smtp-Source: ABdhPJz9b0OWNsXKxkGpr+N8kc5HAWmcGlPA3yZZdhkMKnRbdsfcW0A53EomwMrN1fGDuOP1Keg/5EfQ9vdMQ3DHQw4= X-Received: by 2002:a63:778f:: with SMTP id s137mr599296pgc.7.1602612187843; Tue, 13 Oct 2020 11:03:07 -0700 (PDT) MIME-Version: 1.0 References: <20201001075723.24246-1-lukas.bulwahn@gmail.com> In-Reply-To: From: Masahiro Yamada Date: Wed, 14 Oct 2020 03:02:31 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: doc: describe proper script invocation To: Lukas Bulwahn Cc: Andrew Morton , Kees Cook , Michal Marek , Linux Kbuild mailing list , Jonathan Corbet , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Ujjwal Kumar , linux-kernel-mentees@lists.linuxfoundation.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 13, 2020 at 11:31 PM Masahiro Yamada wrote: > > On Thu, Oct 1, 2020 at 4:57 PM Lukas Bulwahn wrote: > > > > During an investigation to fix up the execute bits of scripts in the kernel > > repository, Andrew Morton and Kees Cook pointed out that the execute bit > > should not matter, and that build scripts cannot rely on that. Kees could > > not point to any documentation, though. > > > > Masahiro Yamada explained the convention of setting execute bits to make it > > easier for manual script invocation. > > > > Provide some basic documentation how the build shall invoke scripts, such > > that the execute bits do not matter, and acknowledge that execute bits > > are useful nonetheless. > > > > This serves as reference for further clean-up patches in the future. > > > > Link: https://lore.kernel.org/lkml/20200830174409.c24c3f67addcce0cea9a9d4c@linux-foundation.org/ > > Link: https://lore.kernel.org/lkml/202008271102.FEB906C88@keescook/ > > Link: https://lore.kernel.org/linux-kbuild/CAK7LNAQdrvMkDA6ApDJCGr+5db8SiPo=G+p8EiOvnnGvEN80gA@mail.gmail.com/ > > > > Suggested-by: Andrew Morton > > Suggested-by: Kees Cook > > Signed-off-by: Lukas Bulwahn > > > Applied to linux-kbuild. > Thanks. > No, not really. I will re-think if this is the right thing to do. -- Best Regards Masahiro Yamada