On Wed, Feb 13, 2019 at 4:41 PM Samuel Dionne-Riel <sam...@dionne-riel.com> wrote: > Before, the interpreter was still used (assuming it wasn't cut by the > length), and the interpreter was free to re-read the shebang if > desired.
Oh awesome. Yeah, so, nevermind about the WARN_ONCE(). So, to address the "wrong binary" problem, how about we ENOEXEC only if no newline or spaces are found in the string? -- Kees Cook