Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
5fd0b580
Commit
5fd0b580
authored
Oct 15, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avr32: switch to generic sys_execve()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
5adc807f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
28 deletions
+2
-28
arch/avr32/include/asm/unistd.h
arch/avr32/include/asm/unistd.h
+1
-0
arch/avr32/kernel/process.c
arch/avr32/kernel/process.c
+0
-21
arch/avr32/kernel/syscall-stubs.S
arch/avr32/kernel/syscall-stubs.S
+0
-6
arch/avr32/kernel/syscall_table.S
arch/avr32/kernel/syscall_table.S
+1
-1
No files found.
arch/avr32/include/asm/unistd.h
View file @
5fd0b580
...
...
@@ -39,6 +39,7 @@
#define __ARCH_WANT_SYS_GETPGRP
#define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_EXECVE
/*
* "Conditional" syscalls
...
...
arch/avr32/kernel/process.c
View file @
5fd0b580
...
...
@@ -349,27 +349,6 @@ asmlinkage int sys_vfork(struct pt_regs *regs)
0
,
NULL
,
NULL
);
}
asmlinkage
int
sys_execve
(
const
char
__user
*
ufilename
,
const
char
__user
*
const
__user
*
uargv
,
const
char
__user
*
const
__user
*
uenvp
,
struct
pt_regs
*
regs
)
{
int
error
;
struct
filename
*
filename
;
filename
=
getname
(
ufilename
);
error
=
PTR_ERR
(
filename
);
if
(
IS_ERR
(
filename
))
goto
out
;
error
=
do_execve
(
filename
->
name
,
uargv
,
uenvp
,
regs
);
putname
(
filename
);
out:
return
error
;
}
/*
* This function is supposed to answer the question "who called
* schedule()?"
...
...
arch/avr32/kernel/syscall-stubs.S
View file @
5fd0b580
...
...
@@ -50,12 +50,6 @@ __sys_vfork:
mov
r12
,
sp
rjmp
sys_vfork
.
global
__sys_execve
.
type
__sys_execve
,
@
function
__sys_execve
:
mov
r9
,
sp
rjmp
sys_execve
.
global
__sys_mmap2
.
type
__sys_mmap2
,
@
function
__sys_mmap2
:
...
...
arch/avr32/kernel/syscall_table.S
View file @
5fd0b580
...
...
@@ -24,7 +24,7 @@ sys_call_table:
.
long
sys_creat
.
long
sys_link
.
long
sys_unlink
/*
10
*/
.
long
__
sys_execve
.
long
sys_execve
.
long
sys_chdir
.
long
sys_time
.
long
sys_mknod
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment