Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173213
b: refs/heads/master
c: e3c1a6b
h: refs/heads/master
i:
  173211: 6af58da
v: v3
  • Loading branch information
John Kacur authored and Thomas Gleixner committed Oct 14, 2009
1 parent 4e9e254 commit 66ef74c
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: b69975a35a7332624b6977a5676a6fc320070360
refs/heads/master: e3c1a6b35c84795f7cb31cb7f4748166904cc0bc
5 changes: 1 addition & 4 deletions trunk/arch/h8300/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,12 @@ asmlinkage int sys_execve(char *name, char **argv, char **envp,int dummy,...)
char * filename;
struct pt_regs *regs = (struct pt_regs *) ((unsigned char *)&dummy-4);

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 66ef74c

Please sign in to comment.