In 5.x kernels, BINPRM_BUF_SIZE has been increased to 256 bytes: https://github.com/torvalds/linux/commit/6eb3c3d0a52dca337e327ae8868ca1f44a712e02 Could we please backport this change to our 4.x genpatches? Right now I'm seeing increased number of bugs reported by people using old kernel branches and hitting shebang length limit.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=787729d3b4e25f2e14db048cf68510381e7b5a3a commit 787729d3b4e25f2e14db048cf68510381e7b5a3a Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-06-06 12:00:50 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-06-06 12:00:50 +0000 sys-kernel/gentoo-sources: add 4.19.246 and genpatches exec: increase BINPRM_BUF_SIZE to 256 Closes: https://bugs.gentoo.org/847655 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources/gentoo-sources-4.19.246.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24cf59fb8c9d3b633b4a39a7e6859a9d406d6971 commit 24cf59fb8c9d3b633b4a39a7e6859a9d406d6971 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-06-06 12:00:27 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-06-06 12:00:27 +0000 sys-kernel/gentoo-sources: add 4.14.282 and genpatches exec: increase BINPRM_BUF_SIZE to 256 Bug: https://bugs.gentoo.org/847655 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources/gentoo-sources-4.14.282.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d3f51047348c749133347bcceba0be6839f7c0 commit 17d3f51047348c749133347bcceba0be6839f7c0 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-06-06 11:59:20 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-06-06 11:59:20 +0000 sys-kernel/gentoo-sources: add 4.9.317 and genpatches exec: increase BINPRM_BUF_SIZE to 256 Bug: https://bugs.gentoo.org/847655 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources/gentoo-sources-4.9.317.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 31 insertions(+)