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
Kirill Smelkov
linux
Commits
6b94631f
Commit
6b94631f
authored
Oct 20, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
consolidate sys_execve() prototype
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
f4091322
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
18 deletions
+3
-18
arch/hexagon/include/asm/syscall.h
arch/hexagon/include/asm/syscall.h
+0
-3
arch/tile/include/asm/syscalls.h
arch/tile/include/asm/syscalls.h
+0
-4
arch/x86/include/asm/syscalls.h
arch/x86/include/asm/syscalls.h
+0
-3
arch/xtensa/include/asm/syscall.h
arch/xtensa/include/asm/syscall.h
+0
-1
include/asm-generic/syscalls.h
include/asm-generic/syscalls.h
+0
-7
include/linux/syscalls.h
include/linux/syscalls.h
+3
-0
No files found.
arch/hexagon/include/asm/syscall.h
View file @
6b94631f
...
@@ -25,12 +25,9 @@ typedef long (*syscall_fn)(unsigned long, unsigned long,
...
@@ -25,12 +25,9 @@ typedef long (*syscall_fn)(unsigned long, unsigned long,
unsigned
long
,
unsigned
long
,
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
,
asmlinkage
int
sys_clone
(
unsigned
long
clone_flags
,
unsigned
long
newsp
,
unsigned
long
parent_tidp
,
unsigned
long
child_tidp
);
unsigned
long
parent_tidp
,
unsigned
long
child_tidp
);
#define sys_execve sys_execve
#define sys_clone sys_clone
#define sys_clone sys_clone
#include <asm-generic/syscalls.h>
#include <asm-generic/syscalls.h>
...
...
arch/tile/include/asm/syscalls.h
View file @
6b94631f
...
@@ -65,13 +65,9 @@ long sys_ftruncate64(unsigned int fd, loff_t length);
...
@@ -65,13 +65,9 @@ long sys_ftruncate64(unsigned int fd, loff_t length);
/* Provide versions of standard syscalls that use current_pt_regs(). */
/* Provide versions of standard syscalls that use current_pt_regs(). */
long
sys_clone
(
unsigned
long
clone_flags
,
unsigned
long
newsp
,
long
sys_clone
(
unsigned
long
clone_flags
,
unsigned
long
newsp
,
void
__user
*
parent_tid
,
void
__user
*
child_tid
);
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_rt_sigreturn
(
void
);
long
sys_sigaltstack
(
const
stack_t
__user
*
,
stack_t
__user
*
);
long
sys_sigaltstack
(
const
stack_t
__user
*
,
stack_t
__user
*
);
#define sys_clone sys_clone
#define sys_clone sys_clone
#define sys_execve sys_execve
#define sys_rt_sigreturn sys_rt_sigreturn
#define sys_rt_sigreturn sys_rt_sigreturn
#define sys_sigaltstack sys_sigaltstack
#define sys_sigaltstack sys_sigaltstack
...
...
arch/x86/include/asm/syscalls.h
View file @
6b94631f
...
@@ -23,9 +23,6 @@ long sys_iopl(unsigned int, struct pt_regs *);
...
@@ -23,9 +23,6 @@ long sys_iopl(unsigned int, struct pt_regs *);
/* kernel/process.c */
/* kernel/process.c */
int
sys_fork
(
struct
pt_regs
*
);
int
sys_fork
(
struct
pt_regs
*
);
int
sys_vfork
(
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
*
,
long
sys_clone
(
unsigned
long
,
unsigned
long
,
void
__user
*
,
void
__user
*
,
struct
pt_regs
*
);
void
__user
*
,
struct
pt_regs
*
);
...
...
arch/xtensa/include/asm/syscall.h
View file @
6b94631f
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
struct
pt_regs
;
struct
pt_regs
;
struct
sigaction
;
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_clone
(
unsigned
long
,
unsigned
long
,
struct
pt_regs
*
);
asmlinkage
long
xtensa_ptrace
(
long
,
long
,
long
,
long
);
asmlinkage
long
xtensa_ptrace
(
long
,
long
,
long
,
long
);
asmlinkage
long
xtensa_sigreturn
(
struct
pt_regs
*
);
asmlinkage
long
xtensa_sigreturn
(
struct
pt_regs
*
);
...
...
include/asm-generic/syscalls.h
View file @
6b94631f
...
@@ -21,13 +21,6 @@ asmlinkage long sys_fork(void);
...
@@ -21,13 +21,6 @@ asmlinkage long sys_fork(void);
asmlinkage
long
sys_vfork
(
void
);
asmlinkage
long
sys_vfork
(
void
);
#endif
#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
#ifndef sys_mmap2
asmlinkage
long
sys_mmap2
(
unsigned
long
addr
,
unsigned
long
len
,
asmlinkage
long
sys_mmap2
(
unsigned
long
addr
,
unsigned
long
len
,
unsigned
long
prot
,
unsigned
long
flags
,
unsigned
long
prot
,
unsigned
long
flags
,
...
...
include/linux/syscalls.h
View file @
6b94631f
...
@@ -837,6 +837,9 @@ int kernel_execve(const char *filename, const char *const argv[], const char *co
...
@@ -837,6 +837,9 @@ int kernel_execve(const char *filename, const char *const argv[], const char *co
current_pt_regs())
current_pt_regs())
#endif
#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
(
asmlinkage
long
sys_perf_event_open
(
struct
perf_event_attr
__user
*
attr_uptr
,
struct
perf_event_attr
__user
*
attr_uptr
,
...
...
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