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
27aedbd5
Commit
27aedbd5
authored
Oct 18, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hexagon: switch to generic sys_execve()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
99521855
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
19 deletions
+1
-19
arch/hexagon/include/asm/unistd.h
arch/hexagon/include/asm/unistd.h
+1
-0
arch/hexagon/kernel/syscall.c
arch/hexagon/kernel/syscall.c
+0
-19
No files found.
arch/hexagon/include/asm/unistd.h
View file @
27aedbd5
...
...
@@ -27,5 +27,6 @@
*/
#define sys_mmap2 sys_mmap_pgoff
#define __ARCH_WANT_SYS_EXECVE
#include <asm-generic/unistd.h>
arch/hexagon/kernel/syscall.c
View file @
27aedbd5
...
...
@@ -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
)
{
...
...
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