Note: 5/5 depends on
-extern int bprm_change_interp(char *interp, struct linux_binprm *bprm);
+extern int bprm_change_interp(const char *interp, struct linux_binprm
*bprm);
change in
[PATCH] exec: load_script: kill the onstack interp[BINPRM_BUF_SIZE]
array
https://marc.info/?l=linux-kernel&m=150575251328591
I sent before.
Looks like this code was always wrong, then 948b701a607f ("binfmt_misc: add
persistent
opened binary handler for containers") added more problems.
Oleg.
fs/binfmt_misc.c | 56 ++++++++++++++++++++++++++------------------------------
1 file changed, 26 insertions(+), 30 deletions(-)