projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regmap: fix small typo in regmap_bulk_write comment
[deliverable/linux.git]
/
fs
/
binfmt_misc.c
diff --git
a/fs/binfmt_misc.c
b/fs/binfmt_misc.c
index 9be335fb8a7cd3f9f480d0c5a46de7cfbcdd1c1f..0c8869fdd14ebf9291eb700ccd099c910584910d 100644
(file)
--- a/
fs/binfmt_misc.c
+++ b/
fs/binfmt_misc.c
@@
-172,7
+172,10
@@
static int load_misc_binary(struct linux_binprm *bprm)
goto _error;
bprm->argc ++;
goto _error;
bprm->argc ++;
- bprm->interp = iname; /* for binfmt_script */
+ /* Update interp in case binfmt_script needs it. */
+ retval = bprm_change_interp(iname, bprm);
+ if (retval < 0)
+ goto _error;
interp_file = open_exec (iname);
retval = PTR_ERR (interp_file);
interp_file = open_exec (iname);
retval = PTR_ERR (interp_file);
This page took
0.028212 seconds
and
5
git commands to generate.