Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340280
b: refs/heads/master
c: 27aedbd
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Oct 24, 2012
1 parent 26b6d8f commit 9878254
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 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: 995218555433b260b58059802e1c01f35b4cd860
refs/heads/master: 27aedbd52fb78bbead55c81a8dd906afd405c3fc
1 change: 1 addition & 0 deletions trunk/arch/hexagon/include/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
*/

#define sys_mmap2 sys_mmap_pgoff
#define __ARCH_WANT_SYS_EXECVE

#include <asm-generic/unistd.h>
19 changes: 0 additions & 19 deletions trunk/arch/hexagon/kernel/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,6 @@
* See signal.c for signal-related system call wrappers.
*/

asmlinkage int sys_execve(char __user *ufilename,
const char __user *const __user *argv,
const char __user *const __user *envp)
{
struct pt_regs *pregs = current_pt_regs();
struct filename *filename;
int retval;

filename = getname(ufilename);
retval = PTR_ERR(filename);
if (IS_ERR(filename))
return retval;

retval = do_execve(filename->name, argv, envp, pregs);
putname(filename);

return retval;
}

asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
unsigned long parent_tidp, unsigned long child_tidp)
{
Expand Down

0 comments on commit 9878254

Please sign in to comment.