Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340321
b: refs/heads/master
c: 6b94631
h: refs/heads/master
i:
  340319: bd45fc2
v: v3
  • Loading branch information
Al Viro committed Nov 29, 2012
1 parent f810ba6 commit b98a526
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 19 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: f4091322d7397c8eb85c071570cab0e82ee3e261
refs/heads/master: 6b94631f9e8c45a46056cbc6a7a50ecebea4f8da
3 changes: 0 additions & 3 deletions trunk/arch/hexagon/include/asm/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,9 @@ typedef long (*syscall_fn)(unsigned long, unsigned long,
unsigned long, unsigned long,
unsigned long, unsigned long);

asmlinkage int sys_execve(char __user *ufilename, char __user * __user *argv,
char __user * __user *envp);
asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
unsigned long parent_tidp, unsigned long child_tidp);

#define sys_execve sys_execve
#define sys_clone sys_clone

#include <asm-generic/syscalls.h>
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/tile/include/asm/syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,9 @@ long sys_ftruncate64(unsigned int fd, loff_t length);
/* Provide versions of standard syscalls that use current_pt_regs(). */
long sys_clone(unsigned long clone_flags, unsigned long newsp,
void __user *parent_tid, void __user *child_tid);
long sys_execve(const char __user *filename,
const char __user *const __user *argv,
const char __user *const __user *envp);
long sys_rt_sigreturn(void);
long sys_sigaltstack(const stack_t __user *, stack_t __user *);
#define sys_clone sys_clone
#define sys_execve sys_execve
#define sys_rt_sigreturn sys_rt_sigreturn
#define sys_sigaltstack sys_sigaltstack

Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/x86/include/asm/syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ long sys_iopl(unsigned int, struct pt_regs *);
/* kernel/process.c */
int sys_fork(struct pt_regs *);
int sys_vfork(struct pt_regs *);
long sys_execve(const char __user *,
const char __user *const __user *,
const char __user *const __user *);
long sys_clone(unsigned long, unsigned long, void __user *,
void __user *, struct pt_regs *);

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/xtensa/include/asm/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

struct pt_regs;
struct sigaction;
asmlinkage long sys_execve(char*, char**, char**, struct pt_regs*);
asmlinkage long xtensa_clone(unsigned long, unsigned long, struct pt_regs*);
asmlinkage long xtensa_ptrace(long, long, long, long);
asmlinkage long xtensa_sigreturn(struct pt_regs*);
Expand Down
7 changes: 0 additions & 7 deletions trunk/include/asm-generic/syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ asmlinkage long sys_fork(void);
asmlinkage long sys_vfork(void);
#endif

#ifndef sys_execve
asmlinkage long sys_execve(const char __user *filename,
const char __user *const __user *argv,
const char __user *const __user *envp,
struct pt_regs *regs);
#endif

#ifndef sys_mmap2
asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
unsigned long prot, unsigned long flags,
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,9 @@ int kernel_execve(const char *filename, const char *const argv[], const char *co
current_pt_regs())
#endif

asmlinkage long sys_execve(const char __user *filename,
const char __user *const __user *argv,
const char __user *const __user *envp);

asmlinkage long sys_perf_event_open(
struct perf_event_attr __user *attr_uptr,
Expand Down

0 comments on commit b98a526

Please sign in to comment.