[Linux-kernel-mentees] [PATCH] kbuild: doc: describe proper script invocation
masahiroy at kernel.org
Tue Oct 13 18:02:31 UTC 2020
On Tue, Oct 13, 2020 at 11:31 PM Masahiro Yamada <masahiroy at kernel.org> wrote:
> On Thu, Oct 1, 2020 at 4:57 PM Lukas Bulwahn <lukas.bulwahn at gmail.com> 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://email@example.com/
> > 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 <akpm at linux-foundation.org>
> > Suggested-by: Kees Cook <keescook at chromium.org>
> > Signed-off-by: Lukas Bulwahn <lukas.bulwahn at gmail.com>
> Applied to linux-kbuild.
No, not really.
I will re-think if this is the right thing to do.
More information about the Linux-kernel-mentees