Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172683
b: refs/heads/master
c: 87fbaf6
h: refs/heads/master
i:
  172681: befc4eb
  172679: 0cf5e59
v: v3
  • Loading branch information
John Kacur authored and Geert Uytterhoeven committed Dec 6, 2009
1 parent 1772e4f commit 63596ce
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: 7c5fd5619dc89fb52d2c2cf144fc6e4365427b86
refs/heads/master: 87fbaf6aea142b01756bbea09461daee41d93c0b
5 changes: 1 addition & 4 deletions trunk/arch/m68k/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,15 +317,12 @@ asmlinkage int sys_execve(char __user *name, char __user * __user *argv, char __
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 63596ce

Please sign in to comment.