Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  *  arch/arm/include/asm/unistd.h
0004  *
0005  *  Copyright (C) 2001-2005 Russell King
0006  *
0007  * Please forward _all_ changes to this file to rmk@arm.linux.org.uk,
0008  * no matter what the change is.  Thanks!
0009  */
0010 #ifndef __ASM_ARM_UNISTD_H
0011 #define __ASM_ARM_UNISTD_H
0012 
0013 #include <uapi/asm/unistd.h>
0014 #include <asm/unistd-nr.h>
0015 
0016 #define __ARCH_WANT_NEW_STAT
0017 #define __ARCH_WANT_STAT64
0018 #define __ARCH_WANT_SYS_GETHOSTNAME
0019 #define __ARCH_WANT_SYS_PAUSE
0020 #define __ARCH_WANT_SYS_GETPGRP
0021 #define __ARCH_WANT_SYS_NICE
0022 #define __ARCH_WANT_SYS_SIGPENDING
0023 #define __ARCH_WANT_SYS_SIGPROCMASK
0024 #define __ARCH_WANT_SYS_OLD_MMAP
0025 #define __ARCH_WANT_SYS_OLD_SELECT
0026 #define __ARCH_WANT_SYS_UTIME32
0027 
0028 #if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT)
0029 #define __ARCH_WANT_SYS_TIME32
0030 #define __ARCH_WANT_SYS_IPC
0031 #define __ARCH_WANT_SYS_OLDUMOUNT
0032 #define __ARCH_WANT_SYS_ALARM
0033 #define __ARCH_WANT_SYS_OLD_GETRLIMIT
0034 #define __ARCH_WANT_OLD_READDIR
0035 #define __ARCH_WANT_SYS_SOCKETCALL
0036 #endif
0037 #define __ARCH_WANT_SYS_FORK
0038 #define __ARCH_WANT_SYS_VFORK
0039 #define __ARCH_WANT_SYS_CLONE
0040 #define __ARCH_WANT_SYS_CLONE3
0041 
0042 /*
0043  * Unimplemented (or alternatively implemented) syscalls
0044  */
0045 #define __IGNORE_fadvise64_64
0046 
0047 #ifdef __ARM_EABI__
0048 /*
0049  * The following syscalls are obsolete and no longer available for EABI:
0050  *  __NR_time
0051  *  __NR_umount
0052  *  __NR_stime
0053  *  __NR_alarm
0054  *  __NR_utime
0055  *  __NR_getrlimit
0056  *  __NR_select
0057  *  __NR_readdir
0058  *  __NR_mmap
0059  *  __NR_socketcall
0060  *  __NR_syscall
0061  *  __NR_ipc
0062  */
0063 #define __IGNORE_getrlimit
0064 #endif
0065 
0066 #endif /* __ASM_ARM_UNISTD_H */