Re: [PATCH 1/2] exec: load_script: don't blindly truncate shebang string

From: Oleg Nesterov
Date: Tue Nov 13 2018 - 11:41:30 EST


On 11/13, Michal Hocko wrote:
>
> A bit cryptic to my taste

Yeeees, because I didn't want to touch the code below. We need to cleanup
the whole "parse bprm->buf" code, not only this part.

> but it looks correct. I have tried to come up
> with something more tasty but I am afraid it would be just a matter of
> taste.
>
> Acked-by: Michal Hocko <mhocko@xxxxxxxx>

Thanks!

Oleg.