Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340305
b: refs/heads/master
c: 71915d2
h: refs/heads/master
i:
  340303: 3bbd355
v: v3
  • Loading branch information
Al Viro committed Oct 14, 2012
1 parent c8b6e9e commit b638142
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 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: 5fae1b664595adc621fb9294b7d19145918073de
refs/heads/master: 71915d21e59c153c1202e3198916817c2d18da32
1 change: 1 addition & 0 deletions trunk/arch/h8300/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@
#define __ARCH_WANT_SYS_SIGPROCMASK
#define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_EXECVE

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

/*
* sys_execve() executes a new program.
*/
asmlinkage int sys_execve(const char *name,
const char *const *argv,
const char *const *envp,
int dummy, ...)
{
int error;
struct filename *filename;
struct pt_regs *regs = (struct pt_regs *) ((unsigned char *)&dummy-4);

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 thread_saved_pc(struct task_struct *tsk)
{
return ((struct pt_regs *)tsk->thread.esp0)->pc;
Expand Down

0 comments on commit b638142

Please sign in to comment.