projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'mvebu-irqchip-3.14' of git://git.infradead.org/linux-mvebu into irq/core
[firefly-linux-kernel-4.4.55.git]
/
fs
/
binfmt_script.c
diff --git
a/fs/binfmt_script.c
b/fs/binfmt_script.c
index 1610a91637e57d88c54b1a88d6a3ba1e4a230ac4..5027a3e149222bd5945c87d9521e6e7a6108dc77 100644
(file)
--- a/
fs/binfmt_script.c
+++ b/
fs/binfmt_script.c
@@
-80,7
+80,9
@@
static int load_script(struct linux_binprm *bprm)
retval = copy_strings_kernel(1, &i_name, bprm);
if (retval) return retval;
bprm->argc++;
retval = copy_strings_kernel(1, &i_name, bprm);
if (retval) return retval;
bprm->argc++;
- bprm->interp = interp;
+ retval = bprm_change_interp(interp, bprm);
+ if (retval < 0)
+ return retval;
/*
* OK, now restart the process with the interpreter's dentry.
/*
* OK, now restart the process with the interpreter's dentry.