Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173211
b: refs/heads/master
c: 25708a5
h: refs/heads/master
i:
  173209: 0e24c13
  173207: 6e8b4bf
v: v3
  • Loading branch information
John Kacur authored and Thomas Gleixner committed Oct 14, 2009
1 parent 56aae22 commit 6af58da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: d63c489b881707adf9c0b89f771b30a1d78f4197
refs/heads/master: 25708a5fe7467dcc69d9b92c1701aad4a0c71887
6 changes: 1 addition & 5 deletions trunk/arch/blackfin/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,22 +215,18 @@ copy_thread(unsigned long clone_flags,
/*
* sys_execve() executes a new program.
*/

asmlinkage int sys_execve(char __user *name, char __user * __user *argv, char __user * __user *envp)
{
int error;
char *filename;
struct pt_regs *regs = (struct pt_regs *)((&name) + 6);

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 6af58da

Please sign in to comment.