Re: Userspace regression in LTS and stable kernels

From: Linus Torvalds
Date: Thu Feb 14 2019 - 12:57:09 EST

On Wed, Feb 13, 2019 at 3:37 PM Richard Weinberger
<richard.weinberger@xxxxxxxxx> wrote:
> Your shebang line exceeds BINPRM_BUF_SIZE.
> Before the said commit the kernel silently truncated the shebang line
> (and corrupted it),
> now it tells the user that the line is too long.

It doesn't matter if it "corrupted" things by truncating it. All that
matters is "it used to work, now it doesn't"

Yes, maybe it never *should* have worked. And yes, it's sad that
people apparently had cases that depended on this odd behavior, but
there we are.

I see that Kees has a patch to fix it up.