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
5f6c4ab6
Commit
5f6c4ab6
authored
Oct 10, 2012
by
Al Viro
Committed by
Michal Simek
Nov 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
microblaze: switch to generic sys_execve()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
99c59f60
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
26 deletions
+1
-26
arch/microblaze/include/asm/unistd.h
arch/microblaze/include/asm/unistd.h
+1
-0
arch/microblaze/kernel/entry-nommu.S
arch/microblaze/kernel/entry-nommu.S
+0
-4
arch/microblaze/kernel/entry.S
arch/microblaze/kernel/entry.S
+0
-4
arch/microblaze/kernel/sys_microblaze.c
arch/microblaze/kernel/sys_microblaze.c
+0
-18
No files found.
arch/microblaze/include/asm/unistd.h
View file @
5f6c4ab6
...
@@ -422,6 +422,7 @@
...
@@ -422,6 +422,7 @@
#define __ARCH_WANT_SYS_SIGPROCMASK
#define __ARCH_WANT_SYS_SIGPROCMASK
#define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_EXECVE
/*
/*
* "Conditional" syscalls
* "Conditional" syscalls
...
...
arch/microblaze/kernel/entry-nommu.S
View file @
5f6c4ab6
...
@@ -567,10 +567,6 @@ sys_clone:
...
@@ -567,10 +567,6 @@ sys_clone:
brid
microblaze_clone
brid
microblaze_clone
addk
r7
,
r1
,
r0
addk
r7
,
r1
,
r0
sys_execve
:
brid
microblaze_execve
addk
r8
,
r1
,
r0
sys_rt_sigreturn_wrapper
:
sys_rt_sigreturn_wrapper
:
brid
sys_rt_sigreturn
brid
sys_rt_sigreturn
addk
r5
,
r1
,
r0
addk
r5
,
r1
,
r0
...
...
arch/microblaze/kernel/entry.S
View file @
5f6c4ab6
...
@@ -489,10 +489,6 @@ C_ENTRY(sys_clone):
...
@@ -489,10 +489,6 @@ C_ENTRY(sys_clone):
brid
do_fork
/*
Do
real
work
(
tail
-
call
)
*/
brid
do_fork
/*
Do
real
work
(
tail
-
call
)
*/
add
r8
,
r0
,
r0
; /* Arg 3: (unused) */
add
r8
,
r0
,
r0
; /* Arg 3: (unused) */
C_ENTRY
(
sys_execve
):
brid
microblaze_execve
; /* Do real work (tail-call).*/
addik
r8
,
r1
,
0
; /* add user context as 4th arg */
C_ENTRY
(
sys_rt_sigreturn_wrapper
):
C_ENTRY
(
sys_rt_sigreturn_wrapper
):
brid
sys_rt_sigreturn
/*
Do
real
work
*/
brid
sys_rt_sigreturn
/*
Do
real
work
*/
addik
r5
,
r1
,
0
; /* add user context as 1st arg */
addik
r5
,
r1
,
0
; /* add user context as 1st arg */
...
...
arch/microblaze/kernel/sys_microblaze.c
View file @
5f6c4ab6
...
@@ -48,24 +48,6 @@ asmlinkage long microblaze_clone(int flags, unsigned long stack,
...
@@ -48,24 +48,6 @@ asmlinkage long microblaze_clone(int flags, unsigned long stack,
return
do_fork
(
flags
,
stack
,
regs
,
0
,
NULL
,
NULL
);
return
do_fork
(
flags
,
stack
,
regs
,
0
,
NULL
,
NULL
);
}
}
asmlinkage
long
microblaze_execve
(
const
char
__user
*
filenamei
,
const
char
__user
*
const
__user
*
argv
,
const
char
__user
*
const
__user
*
envp
,
struct
pt_regs
*
regs
)
{
int
error
;
struct
filename
*
filename
;
filename
=
getname
(
filenamei
);
error
=
PTR_ERR
(
filename
);
if
(
IS_ERR
(
filename
))
goto
out
;
error
=
do_execve
(
filename
->
name
,
argv
,
envp
,
regs
);
putname
(
filename
);
out:
return
error
;
}
asmlinkage
long
sys_mmap
(
unsigned
long
addr
,
unsigned
long
len
,
asmlinkage
long
sys_mmap
(
unsigned
long
addr
,
unsigned
long
len
,
unsigned
long
prot
,
unsigned
long
flags
,
unsigned
long
prot
,
unsigned
long
flags
,
unsigned
long
fd
,
off_t
pgoff
)
unsigned
long
fd
,
off_t
pgoff
)
...
...
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