Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108941
b: refs/heads/master
c: ff9bc51
h: refs/heads/master
i:
  108939: ff90c68
v: v3
  • Loading branch information
Pavel Emelyanov authored and Linus Torvalds committed Aug 20, 2008
1 parent b2c5494 commit 8d89b80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c82f2966015a2c9708fb8f20694ef7ba8567d2e1
refs/heads/master: ff9bc512f198eb47204f55b24c6fe3d36ed89592
4 changes: 2 additions & 2 deletions trunk/fs/binfmt_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ static int load_misc_binary(struct linux_binprm *bprm, struct pt_regs *regs)
if (bprm->misc_bang)
goto _ret;

bprm->misc_bang = 1;

/* to keep locking time low, we copy the interpreter string */
read_lock(&entries_lock);
fmt = check_file(bprm);
Expand Down Expand Up @@ -199,6 +197,8 @@ static int load_misc_binary(struct linux_binprm *bprm, struct pt_regs *regs)
if (retval < 0)
goto _error;

bprm->misc_bang = 1;

retval = search_binary_handler (bprm, regs);
if (retval < 0)
goto _error;
Expand Down

0 comments on commit 8d89b80

Please sign in to comment.