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
[PATCH] dup3 fix
[firefly-linux-kernel-4.4.55.git]
/
fs
/
binfmt_em86.c
diff --git
a/fs/binfmt_em86.c
b/fs/binfmt_em86.c
index 576dd7de22784e3007c5854d39ad867dc02d0bca..f9c88d0c8cedeabcfdca1a5f81a51e1e293a59ea 100644
(file)
--- a/
fs/binfmt_em86.c
+++ b/
fs/binfmt_em86.c
@@
-2,7
+2,7
@@
* linux/fs/binfmt_em86.c
*
* Based on linux/fs/binfmt_script.c
* linux/fs/binfmt_em86.c
*
* Based on linux/fs/binfmt_script.c
- * Copyright (C) 1996 Martin von L
ö
wis
+ * Copyright (C) 1996 Martin von L
ö
wis
* original #!-checking implemented by tytso.
*
* em86 changes Copyright (C) 1997 Jim Paradis
* original #!-checking implemented by tytso.
*
* em86 changes Copyright (C) 1997 Jim Paradis
@@
-43,7
+43,7
@@
static int load_em86(struct linux_binprm *bprm,struct pt_regs *regs)
return -ENOEXEC;
}
return -ENOEXEC;
}
- bprm->sh_bang
++;
/* Well, the bang-shell is implicit... */
+ bprm->sh_bang
= 1;
/* Well, the bang-shell is implicit... */
allow_write_access(bprm->file);
fput(bprm->file);
bprm->file = NULL;
allow_write_access(bprm->file);
fput(bprm->file);
bprm->file = NULL;