Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173215
b: refs/heads/master
c: eb7371d
h: refs/heads/master
i:
  173213: 66ef74c
  173211: 6af58da
  173207: 6e8b4bf
  173199: 353a363
  173183: 5466003
v: v3
  • Loading branch information
John Kacur authored and Thomas Gleixner committed Oct 14, 2009
1 parent fd0a013 commit a85ee31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 2624167cd8b4965d0ef548e84767a30214edd8d4
refs/heads/master: eb7371d4fdcc40a390e8bdf90c99b5541213ca45
5 changes: 1 addition & 4 deletions trunk/arch/m68knommu/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,12 @@ asmlinkage int sys_execve(char *name, char **argv, char **envp)
char * filename;
struct pt_regs *regs = (struct pt_regs *) &name;

lock_kernel();
filename = getname(name);
error = PTR_ERR(filename);
if (IS_ERR(filename))
goto out;
return error;
error = do_execve(filename, argv, envp, regs);
putname(filename);
out:
unlock_kernel();
return error;
}

Expand Down

0 comments on commit a85ee31

Please sign in to comment.