[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176959965192.1301244.16587395744422463112.b4-ty@kernel.org>
Date: Wed, 28 Jan 2026 12:27:31 +0100
From: Nicolas Schier <nsc@...nel.org>
To: nathan@...nel.org, Ethan Zuo <yuxuan.zuo@...look.com>
Cc: masahiroy@...nel.org, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] kbuild: Fix permissions of modules.builtin.modinfo
On Wed, 28 Jan 2026 14:37:51 +0800, Ethan Zuo wrote:
> Currently, modules.builtin.modinfo is created with executable permissions
> (0755). This is because after commit 39cfd5b12160 ("kbuild: extract
> modules.builtin.modinfo from vmlinux.unstripped"), modules.builtin.modinfo
> is extracted from vmlinux.unstripped using objcopy. When extracting
> sections, objcopy inherits attributes from the source ELF file.
>
> Since modules.builtin.modinfo is a data file and not an executable,
> it should have regular file permissions (0644). The executable bit
> can trigger warnings in Debian's Lintian tool.
>
> [...]
Applied to kbuild/linux.git (kbuild-fixes-unstable), thanks!
[1/1] kbuild: Fix permissions of modules.builtin.modinfo
https://git.kernel.org/kbuild/c/6d60354e
Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped,
reverted or modified (e.g. trailers). Patches applied to the
kbuild-fixes-unstable branch are accepted pending wider testing in
linux-next and any post-commit review; they will generally be moved
to the kbuild-fixes branch in a week if no issues are found.
Best regards,
--
Nicolas
Powered by blists - more mailing lists