| 1 |
|
| 2 | #ifndef __ASM_SYSCALLS_H
|
| 3 | #define __ASM_SYSCALLS_H
|
| 4 |
|
| 5 | #include <linux/linkage.h>
|
| 6 | #include <linux/types.h>
|
| 7 |
|
| 8 | struct pt_regs;
|
| 9 | asmlinkage int sys_sigreturn(struct pt_regs *regs);
|
| 10 | asmlinkage int sys_rt_sigreturn(struct pt_regs *regs);
|
| 11 | asmlinkage long sys_arm_fadvise64_64(int fd, int advice,
|
| 12 | loff_t offset, loff_t len);
|
| 13 |
|
| 14 | struct oldabi_stat64;
|
| 15 | asmlinkage long sys_oabi_stat64(const char __user * filename,
|
| 16 | struct oldabi_stat64 __user * statbuf);
|
| 17 | asmlinkage long sys_oabi_lstat64(const char __user * filename,
|
| 18 | struct oldabi_stat64 __user * statbuf);
|
| 19 | asmlinkage long sys_oabi_fstat64(unsigned long fd,
|
| 20 | struct oldabi_stat64 __user * statbuf);
|
| 21 | asmlinkage long sys_oabi_fstatat64(int dfd,
|
| 22 | const char __user *filename,
|
| 23 | struct oldabi_stat64 __user *statbuf,
|
| 24 | int flag);
|
| 25 | asmlinkage long sys_oabi_fcntl64(unsigned int fd, unsigned int cmd,
|
| 26 | unsigned long arg);
|
| 27 | struct oabi_epoll_event;
|
| 28 | asmlinkage long sys_oabi_epoll_ctl(int epfd, int op, int fd,
|
| 29 | struct oabi_epoll_event __user *event);
|
| 30 | struct oabi_sembuf;
|
| 31 | struct old_timespec32;
|
| 32 | asmlinkage long sys_oabi_semtimedop(int semid,
|
| 33 | struct oabi_sembuf __user *tsops,
|
| 34 | unsigned nsops,
|
| 35 | const struct old_timespec32 __user *timeout);
|
| 36 | asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops,
|
| 37 | unsigned nsops);
|
| 38 | asmlinkage int sys_oabi_ipc(uint call, int first, int second, int third,
|
| 39 | void __user *ptr, long fifth);
|
| 40 | struct sockaddr;
|
| 41 | asmlinkage long sys_oabi_bind(int fd, struct sockaddr __user *addr, int addrlen);
|
| 42 | asmlinkage long sys_oabi_connect(int fd, struct sockaddr __user *addr, int addrlen);
|
| 43 | asmlinkage long sys_oabi_sendto(int fd, void __user *buff,
|
| 44 | size_t len, unsigned flags,
|
| 45 | struct sockaddr __user *addr,
|
| 46 | int addrlen);
|
| 47 | struct user_msghdr;
|
| 48 | asmlinkage long sys_oabi_sendmsg(int fd, struct user_msghdr __user *msg, unsigned flags);
|
| 49 | asmlinkage long sys_oabi_socketcall(int call, unsigned long __user *args);
|
| 50 |
|
| 51 | #endif
|