1 #ifndef __ASM_GENERIC_SYSCALLS_H
2 #define __ASM_GENERIC_SYSCALLS_H
4 #include <linux/compiler.h>
5 #include <linux/linkage.h>
8 * Calling conventions for these system calls can differ, so
9 * it's possible to override them.
12 asmlinkage long sys_clone(unsigned long clone_flags, unsigned long newsp,
13 void __user *parent_tid, void __user *child_tid,
14 struct pt_regs *regs);
18 asmlinkage long sys_fork(struct pt_regs *regs);
22 asmlinkage long sys_vfork(struct pt_regs *regs);
26 asmlinkage long sys_execve(char __user *filename, char __user * __user *argv,
27 char __user * __user *envp, struct pt_regs *regs);
31 asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
32 unsigned long prot, unsigned long flags,
33 unsigned long fd, unsigned long pgoff);
37 asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
38 unsigned long prot, unsigned long flags,
39 unsigned long fd, off_t pgoff);
42 #ifndef sys_sigaltstack
43 asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *,
47 #ifndef sys_rt_sigreturn
48 asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
51 #ifndef sys_rt_sigsuspend
52 asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
55 #ifndef sys_rt_sigaction
56 asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act,
57 struct sigaction __user *oact, size_t sigsetsize);
60 #endif /* __ASM_GENERIC_SYSCALLS_H */