Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173214
b: refs/heads/master
c: 2624167
h: refs/heads/master
v: v3
  • Loading branch information
John Kacur authored and Thomas Gleixner committed Oct 14, 2009
1 parent 66ef74c commit fd0a013
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: e3c1a6b35c84795f7cb31cb7f4748166904cc0bc
refs/heads/master: 2624167cd8b4965d0ef548e84767a30214edd8d4
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 fd0a013

Please sign in to comment.