Commit | Line | Data |
---|---|---|
aafe4dbe AB |
1 | #ifndef __ASM_GENERIC_SYSCALLS_H |
2 | #define __ASM_GENERIC_SYSCALLS_H | |
3 | ||
4 | #include <linux/compiler.h> | |
5 | #include <linux/linkage.h> | |
6 | ||
7 | /* | |
8 | * Calling conventions for these system calls can differ, so | |
9 | * it's possible to override them. | |
10 | */ | |
11 | #ifndef sys_clone | |
12 | asmlinkage long sys_clone(unsigned long clone_flags, unsigned long newsp, | |
d2125043 | 13 | void __user *parent_tid, void __user *child_tid); |
aafe4dbe AB |
14 | #endif |
15 | ||
16 | #ifndef sys_fork | |
d2125043 | 17 | asmlinkage long sys_fork(void); |
aafe4dbe AB |
18 | #endif |
19 | ||
20 | #ifndef sys_vfork | |
d2125043 | 21 | asmlinkage long sys_vfork(void); |
aafe4dbe AB |
22 | #endif |
23 | ||
aafe4dbe AB |
24 | #ifndef sys_mmap2 |
25 | asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, | |
26 | unsigned long prot, unsigned long flags, | |
27 | unsigned long fd, unsigned long pgoff); | |
28 | #endif | |
29 | ||
30 | #ifndef sys_mmap | |
31 | asmlinkage long sys_mmap(unsigned long addr, unsigned long len, | |
32 | unsigned long prot, unsigned long flags, | |
33 | unsigned long fd, off_t pgoff); | |
34 | #endif | |
35 | ||
36 | #ifndef sys_sigaltstack | |
37 | asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *, | |
38 | struct pt_regs *); | |
39 | #endif | |
40 | ||
41 | #ifndef sys_rt_sigreturn | |
42 | asmlinkage long sys_rt_sigreturn(struct pt_regs *regs); | |
43 | #endif | |
44 | ||
45 | #ifndef sys_rt_sigsuspend | |
46 | asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize); | |
47 | #endif | |
48 | ||
49 | #ifndef sys_rt_sigaction | |
50 | asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act, | |
51 | struct sigaction __user *oact, size_t sigsetsize); | |
52 | #endif | |
53 | ||
54 | #endif /* __ASM_GENERIC_SYSCALLS_H */ |