unistd.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * arch/arm/include/asm/unistd.h
  4. *
  5. * Copyright (C) 2001-2005 Russell King
  6. *
  7. * Please forward _all_ changes to this file to [email protected],
  8. * no matter what the change is. Thanks!
  9. */
  10. #ifndef __ASM_ARM_UNISTD_H
  11. #define __ASM_ARM_UNISTD_H
  12. #include <uapi/asm/unistd.h>
  13. #include <asm/unistd-nr.h>
  14. #define __ARCH_WANT_NEW_STAT
  15. #define __ARCH_WANT_STAT64
  16. #define __ARCH_WANT_SYS_GETHOSTNAME
  17. #define __ARCH_WANT_SYS_PAUSE
  18. #define __ARCH_WANT_SYS_GETPGRP
  19. #define __ARCH_WANT_SYS_NICE
  20. #define __ARCH_WANT_SYS_SIGPENDING
  21. #define __ARCH_WANT_SYS_SIGPROCMASK
  22. #define __ARCH_WANT_SYS_OLD_MMAP
  23. #define __ARCH_WANT_SYS_OLD_SELECT
  24. #define __ARCH_WANT_SYS_UTIME32
  25. #if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT)
  26. #define __ARCH_WANT_SYS_TIME32
  27. #define __ARCH_WANT_SYS_IPC
  28. #define __ARCH_WANT_SYS_OLDUMOUNT
  29. #define __ARCH_WANT_SYS_ALARM
  30. #define __ARCH_WANT_SYS_OLD_GETRLIMIT
  31. #define __ARCH_WANT_OLD_READDIR
  32. #define __ARCH_WANT_SYS_SOCKETCALL
  33. #endif
  34. #define __ARCH_WANT_SYS_FORK
  35. #define __ARCH_WANT_SYS_VFORK
  36. #define __ARCH_WANT_SYS_CLONE
  37. #define __ARCH_WANT_SYS_CLONE3
  38. /*
  39. * Unimplemented (or alternatively implemented) syscalls
  40. */
  41. #define __IGNORE_fadvise64_64
  42. #ifdef __ARM_EABI__
  43. /*
  44. * The following syscalls are obsolete and no longer available for EABI:
  45. * __NR_time
  46. * __NR_umount
  47. * __NR_stime
  48. * __NR_alarm
  49. * __NR_utime
  50. * __NR_getrlimit
  51. * __NR_select
  52. * __NR_readdir
  53. * __NR_mmap
  54. * __NR_socketcall
  55. * __NR_syscall
  56. * __NR_ipc
  57. */
  58. #define __IGNORE_getrlimit
  59. #endif
  60. #endif /* __ASM_ARM_UNISTD_H */