unistd.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 rmk@arm.linux.org.uk,
  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. /*
  38. * Unimplemented (or alternatively implemented) syscalls
  39. */
  40. #define __IGNORE_fadvise64_64
  41. #ifdef __ARM_EABI__
  42. /*
  43. * The following syscalls are obsolete and no longer available for EABI:
  44. * __NR_time
  45. * __NR_umount
  46. * __NR_stime
  47. * __NR_alarm
  48. * __NR_utime
  49. * __NR_getrlimit
  50. * __NR_select
  51. * __NR_readdir
  52. * __NR_mmap
  53. * __NR_socketcall
  54. * __NR_syscall
  55. * __NR_ipc
  56. */
  57. #define __IGNORE_getrlimit
  58. #endif
  59. #endif /* __ASM_ARM_UNISTD_H */