diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-02-15 02:02:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-20 12:13:20 +0300 |
commit | 7cbbbf750ef6542aebc00993ded62cc9c3256a6c (patch) | |
tree | 77849f84ed7dd2d550051bf18470a0022f1f41cc /fs/nsfs.c | |
parent | b2942d59a3cd66a5202eedcd41e751c0d0bd6e5e (diff) | |
download | linux-7cbbbf750ef6542aebc00993ded62cc9c3256a6c.tar.xz |
Revert "exec: load_script: don't blindly truncate shebang string"
commit cb5b020a8d38f77209d0472a0fea755299a8ec78 upstream.
This reverts commit 8099b047ecc431518b9bb6bdbba3549bbecdc343.
It turns out that people do actually depend on the shebang string being
truncated, and on the fact that an interpreter (like perl) will often
just re-interpret it entirely to get the full argument list.
Reported-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nsfs.c')
0 files changed, 0 insertions, 0 deletions