Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
Russell King | 4baa992 | 2008-08-02 10:55:55 +0100 | [diff] [blame] | 3 | * arch/arm/include/asm/unistd.h |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | * |
| 5 | * Copyright (C) 2001-2005 Russell King |
| 6 | * |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
David Howells | cb8db5d | 2012-10-12 13:05:52 +0100 | [diff] [blame] | 13 | #include <uapi/asm/unistd.h> |
Russell King | 96a8fae | 2016-10-18 19:57:01 +0100 | [diff] [blame] | 14 | #include <asm/unistd-nr.h> |
Baruch Siach | bc994c7 | 2014-07-09 13:33:13 +0100 | [diff] [blame] | 15 | |
Arnd Bergmann | 82b355d | 2018-04-13 11:50:12 +0200 | [diff] [blame] | 16 | #define __ARCH_WANT_NEW_STAT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | #define __ARCH_WANT_STAT64 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #define __ARCH_WANT_SYS_GETHOSTNAME |
| 19 | #define __ARCH_WANT_SYS_PAUSE |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | #define __ARCH_WANT_SYS_GETPGRP |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #define __ARCH_WANT_SYS_NICE |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | #define __ARCH_WANT_SYS_SIGPENDING |
| 23 | #define __ARCH_WANT_SYS_SIGPROCMASK |
Christoph Hellwig | a467937 | 2010-03-10 15:21:15 -0800 | [diff] [blame] | 24 | #define __ARCH_WANT_SYS_OLD_MMAP |
Christoph Hellwig | 5d0e528 | 2010-03-10 15:21:13 -0800 | [diff] [blame] | 25 | #define __ARCH_WANT_SYS_OLD_SELECT |
Arnd Bergmann | d33c577 | 2019-01-06 23:45:29 +0100 | [diff] [blame] | 26 | #define __ARCH_WANT_SYS_UTIME32 |
Nicolas Pitre | dd35afc | 2006-01-14 16:36:12 +0000 | [diff] [blame] | 27 | |
| 28 | #if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT) |
Arnd Bergmann | d33c577 | 2019-01-06 23:45:29 +0100 | [diff] [blame] | 29 | #define __ARCH_WANT_SYS_TIME32 |
Christoph Hellwig | baed7fc | 2010-03-10 15:21:18 -0800 | [diff] [blame] | 30 | #define __ARCH_WANT_SYS_IPC |
Nicolas Pitre | dd35afc | 2006-01-14 16:36:12 +0000 | [diff] [blame] | 31 | #define __ARCH_WANT_SYS_OLDUMOUNT |
| 32 | #define __ARCH_WANT_SYS_ALARM |
Nicolas Pitre | dd35afc | 2006-01-14 16:36:12 +0000 | [diff] [blame] | 33 | #define __ARCH_WANT_SYS_OLD_GETRLIMIT |
| 34 | #define __ARCH_WANT_OLD_READDIR |
| 35 | #define __ARCH_WANT_SYS_SOCKETCALL |
| 36 | #endif |
Al Viro | 38a61b6 | 2012-10-21 15:54:27 -0400 | [diff] [blame] | 37 | #define __ARCH_WANT_SYS_FORK |
| 38 | #define __ARCH_WANT_SYS_VFORK |
| 39 | #define __ARCH_WANT_SYS_CLONE |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | /* |
Russell King | c051079 | 2007-05-16 12:41:15 +0100 | [diff] [blame] | 42 | * Unimplemented (or alternatively implemented) syscalls |
| 43 | */ |
Russell King | 4dfa338 | 2011-09-17 12:50:27 +0100 | [diff] [blame] | 44 | #define __IGNORE_fadvise64_64 |
Russell King | c051079 | 2007-05-16 12:41:15 +0100 | [diff] [blame] | 45 | |
Russell King | 96a8fae | 2016-10-18 19:57:01 +0100 | [diff] [blame] | 46 | #ifdef __ARM_EABI__ |
| 47 | /* |
| 48 | * The following syscalls are obsolete and no longer available for EABI: |
| 49 | * __NR_time |
| 50 | * __NR_umount |
| 51 | * __NR_stime |
| 52 | * __NR_alarm |
| 53 | * __NR_utime |
| 54 | * __NR_getrlimit |
| 55 | * __NR_select |
| 56 | * __NR_readdir |
| 57 | * __NR_mmap |
| 58 | * __NR_socketcall |
| 59 | * __NR_syscall |
| 60 | * __NR_ipc |
| 61 | */ |
| 62 | #define __IGNORE_getrlimit |
| 63 | #endif |
| 64 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 65 | #endif /* __ASM_ARM_UNISTD_H */ |