Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340300
b: refs/heads/master
c: 999121a
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Oct 15, 2012
1 parent 0685dda commit 6a6ec75
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 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: ee1e17c69eb3c843d283eb3fbed1616ed9a122eb
refs/heads/master: 999121a10cbf091cdb3c168754de6ddf1992e656
1 change: 1 addition & 0 deletions trunk/arch/blackfin/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@
#define __ARCH_WANT_SYS_NICE
#define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_EXECVE

/*
* "Conditional" syscalls
Expand Down
20 changes: 0 additions & 20 deletions trunk/arch/blackfin/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,26 +184,6 @@ copy_thread(unsigned long clone_flags,
return 0;
}

/*
* sys_execve() executes a new program.
*/
asmlinkage int sys_execve(const char __user *name,
const char __user *const __user *argv,
const char __user *const __user *envp)
{
int error;
struct filename *filename;
struct pt_regs *regs = (struct pt_regs *)((&name) + 6);

filename = getname(name);
error = PTR_ERR(filename);
if (IS_ERR(filename))
return error;
error = do_execve(filename->name, argv, envp, regs);
putname(filename);
return error;
}

unsigned long get_wchan(struct task_struct *p)
{
unsigned long fp, pc;
Expand Down

0 comments on commit 6a6ec75

Please sign in to comment.