Re: [PATCH v2] kbuild: Fix permissions of modules.builtin.modinfo
From: Nicolas Schier
Date: Wed Jan 28 2026 - 06:28:37 EST
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