tcpConnectionMonitoring.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * arch/arm/include/asm/unistd.h
  3. *
  4. * Copyright (C) 2001-2005 Russell King
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. *
  10. * Please forward _all_ changes to this file to rmk@arm.linux.org.uk,
  11. * no matter what the change is. Thanks!
  12. */
  13. #ifndef _UAPI__ASM_ARM_UNISTD_H
  14. #define _UAPI__ASM_ARM_UNISTD_H
  15. #define __NR_OABI_SYSCALL_BASE 0x900000
  16. #if defined(__thumb__) || defined(__ARM_EABI__)
  17. #define __NR_SYSCALL_BASE 0
  18. #else
  19. #define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE
  20. #endif
  21. /*
  22. * This file contains the system call numbers.
  23. */
  24. #define __NR_restart_syscall (__NR_SYSCALL_BASE+ 0)
  25. #define __NR_exit (__NR_SYSCALL_BASE+ 1)
  26. #define __NR_fork (__NR_SYSCALL_BASE+ 2)
  27. #define __NR_read (__NR_SYSCALL_BASE+ 3)
  28. #define __NR_write (__NR_SYSCALL_BASE+ 4)
  29. #define __NR_open (__NR_SYSCALL_BASE+ 5)
  30. #define __NR_close (__NR_SYSCALL_BASE+ 6)
  31. /* 7 was sys_waitpid */
  32. #define __NR_creat (__NR_SYSCALL_BASE+ 8)
  33. #define __NR_link (__NR_SYSCALL_BASE+ 9)
  34. #define __NR_unlink (__NR_SYSCALL_BASE+ 10)
  35. #define __NR_execve (__NR_SYSCALL_BASE+ 11)
  36. #define __NR_chdir (__NR_SYSCALL_BASE+ 12)
  37. #define __NR_time (__NR_SYSCALL_BASE+ 13)
  38. #define __NR_mknod (__NR_SYSCALL_BASE+ 14)
  39. #define __NR_chmod (__NR_SYSCALL_BASE+ 15)
  40. #define __NR_lchown (__NR_SYSCALL_BASE+ 16)
  41. /* 17 was sys_break */
  42. /* 18 was sys_stat */
  43. #define __NR_lseek (__NR_SYSCALL_BASE+ 19)
  44. #define __NR_getpid (__NR_SYSCALL_BASE+ 20)
  45. #define __NR_mount (__NR_SYSCALL_BASE+ 21)
  46. #define __NR_umount (__NR_SYSCALL_BASE+ 22)
  47. #define __NR_setuid (__NR_SYSCALL_BASE+ 23)
  48. #define __NR_getuid (__NR_SYSCALL_BASE+ 24)
  49. #define __NR_stime (__NR_SYSCALL_BASE+ 25)
  50. #define __NR_ptrace (__NR_SYSCALL_BASE+ 26)
  51. #define __NR_alarm (__NR_SYSCALL_BASE+ 27)
  52. /* 28 was sys_fstat */
  53. #define __NR_pause (__NR_SYSCALL_BASE+ 29)
  54. #define __NR_utime (__NR_SYSCALL_BASE+ 30)
  55. /* 31 was sys_stty */
  56. /* 32 was sys_gtty */
  57. #define __NR_access (__NR_SYSCALL_BASE+ 33)
  58. #define __NR_nice (__NR_SYSCALL_BASE+ 34)
  59. /* 35 was sys_ftime */
  60. #define __NR_sync (__NR_SYSCALL_BASE+ 36)
  61. #define __NR_kill (__NR_SYSCALL_BASE+ 37)