syscalls.h 700 B

12345678910111213141516171819202122232425262728
  1. #ifndef __ASM_GENERIC_SYSCALLS_H
  2. #define __ASM_GENERIC_SYSCALLS_H
  3. #include <linux/compiler.h>
  4. #include <linux/linkage.h>
  5. /*
  6. * Calling conventions for these system calls can differ, so
  7. * it's possible to override them.
  8. */
  9. #ifndef sys_mmap2
  10. asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
  11. unsigned long prot, unsigned long flags,
  12. unsigned long fd, unsigned long pgoff);
  13. #endif
  14. #ifndef sys_mmap
  15. asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
  16. unsigned long prot, unsigned long flags,
  17. unsigned long fd, off_t pgoff);
  18. #endif
  19. #ifndef sys_rt_sigreturn
  20. asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
  21. #endif
  22. #endif /* __ASM_GENERIC_SYSCALLS_H */