|
@@ -297,3 +297,155 @@
|
|
#define __NR_utimes (__NR_SYSCALL_BASE+269)
|
|
#define __NR_utimes (__NR_SYSCALL_BASE+269)
|
|
#define __NR_arm_fadvise64_64 (__NR_SYSCALL_BASE+270)
|
|
#define __NR_arm_fadvise64_64 (__NR_SYSCALL_BASE+270)
|
|
#define __NR_pciconfig_iobase (__NR_SYSCALL_BASE+271)
|
|
#define __NR_pciconfig_iobase (__NR_SYSCALL_BASE+271)
|
|
|
|
+#define __NR_pciconfig_read (__NR_SYSCALL_BASE+272)
|
|
|
|
+#define __NR_pciconfig_write (__NR_SYSCALL_BASE+273)
|
|
|
|
+#define __NR_mq_open (__NR_SYSCALL_BASE+274)
|
|
|
|
+#define __NR_mq_unlink (__NR_SYSCALL_BASE+275)
|
|
|
|
+#define __NR_mq_timedsend (__NR_SYSCALL_BASE+276)
|
|
|
|
+#define __NR_mq_timedreceive (__NR_SYSCALL_BASE+277)
|
|
|
|
+#define __NR_mq_notify (__NR_SYSCALL_BASE+278)
|
|
|
|
+#define __NR_mq_getsetattr (__NR_SYSCALL_BASE+279)
|
|
|
|
+#define __NR_waitid (__NR_SYSCALL_BASE+280)
|
|
|
|
+#define __NR_socket (__NR_SYSCALL_BASE+281)
|
|
|
|
+#define __NR_bind (__NR_SYSCALL_BASE+282)
|
|
|
|
+#define __NR_connect (__NR_SYSCALL_BASE+283)
|
|
|
|
+#define __NR_listen (__NR_SYSCALL_BASE+284)
|
|
|
|
+#define __NR_accept (__NR_SYSCALL_BASE+285)
|
|
|
|
+#define __NR_getsockname (__NR_SYSCALL_BASE+286)
|
|
|
|
+#define __NR_getpeername (__NR_SYSCALL_BASE+287)
|
|
|
|
+#define __NR_socketpair (__NR_SYSCALL_BASE+288)
|
|
|
|
+#define __NR_send (__NR_SYSCALL_BASE+289)
|
|
|
|
+#define __NR_sendto (__NR_SYSCALL_BASE+290)
|
|
|
|
+#define __NR_recv (__NR_SYSCALL_BASE+291)
|
|
|
|
+#define __NR_recvfrom (__NR_SYSCALL_BASE+292)
|
|
|
|
+#define __NR_shutdown (__NR_SYSCALL_BASE+293)
|
|
|
|
+#define __NR_setsockopt (__NR_SYSCALL_BASE+294)
|
|
|
|
+#define __NR_getsockopt (__NR_SYSCALL_BASE+295)
|
|
|
|
+#define __NR_sendmsg (__NR_SYSCALL_BASE+296)
|
|
|
|
+#define __NR_recvmsg (__NR_SYSCALL_BASE+297)
|
|
|
|
+#define __NR_semop (__NR_SYSCALL_BASE+298)
|
|
|
|
+#define __NR_semget (__NR_SYSCALL_BASE+299)
|
|
|
|
+#define __NR_semctl (__NR_SYSCALL_BASE+300)
|
|
|
|
+#define __NR_msgsnd (__NR_SYSCALL_BASE+301)
|
|
|
|
+#define __NR_msgrcv (__NR_SYSCALL_BASE+302)
|
|
|
|
+#define __NR_msgget (__NR_SYSCALL_BASE+303)
|
|
|
|
+#define __NR_msgctl (__NR_SYSCALL_BASE+304)
|
|
|
|
+#define __NR_shmat (__NR_SYSCALL_BASE+305)
|
|
|
|
+#define __NR_shmdt (__NR_SYSCALL_BASE+306)
|
|
|
|
+#define __NR_shmget (__NR_SYSCALL_BASE+307)
|
|
|
|
+#define __NR_shmctl (__NR_SYSCALL_BASE+308)
|
|
|
|
+#define __NR_add_key (__NR_SYSCALL_BASE+309)
|
|
|
|
+#define __NR_request_key (__NR_SYSCALL_BASE+310)
|
|
|
|
+#define __NR_keyctl (__NR_SYSCALL_BASE+311)
|
|
|
|
+#define __NR_semtimedop (__NR_SYSCALL_BASE+312)
|
|
|
|
+#define __NR_vserver (__NR_SYSCALL_BASE+313)
|
|
|
|
+#define __NR_ioprio_set (__NR_SYSCALL_BASE+314)
|
|
|
|
+#define __NR_ioprio_get (__NR_SYSCALL_BASE+315)
|
|
|
|
+#define __NR_inotify_init (__NR_SYSCALL_BASE+316)
|
|
|
|
+#define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317)
|
|
|
|
+#define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318)
|
|
|
|
+#define __NR_mbind (__NR_SYSCALL_BASE+319)
|
|
|
|
+#define __NR_get_mempolicy (__NR_SYSCALL_BASE+320)
|
|
|
|
+#define __NR_set_mempolicy (__NR_SYSCALL_BASE+321)
|
|
|
|
+#define __NR_openat (__NR_SYSCALL_BASE+322)
|
|
|
|
+#define __NR_mkdirat (__NR_SYSCALL_BASE+323)
|
|
|
|
+#define __NR_mknodat (__NR_SYSCALL_BASE+324)
|
|
|
|
+#define __NR_fchownat (__NR_SYSCALL_BASE+325)
|
|
|
|
+#define __NR_futimesat (__NR_SYSCALL_BASE+326)
|
|
|
|
+#define __NR_fstatat64 (__NR_SYSCALL_BASE+327)
|
|
|
|
+#define __NR_unlinkat (__NR_SYSCALL_BASE+328)
|
|
|
|
+#define __NR_renameat (__NR_SYSCALL_BASE+329)
|
|
|
|
+#define __NR_linkat (__NR_SYSCALL_BASE+330)
|
|
|
|
+#define __NR_symlinkat (__NR_SYSCALL_BASE+331)
|
|
|
|
+#define __NR_readlinkat (__NR_SYSCALL_BASE+332)
|
|
|
|
+#define __NR_fchmodat (__NR_SYSCALL_BASE+333)
|
|
|
|
+#define __NR_faccessat (__NR_SYSCALL_BASE+334)
|
|
|
|
+#define __NR_pselect6 (__NR_SYSCALL_BASE+335)
|
|
|
|
+#define __NR_ppoll (__NR_SYSCALL_BASE+336)
|
|
|
|
+#define __NR_unshare (__NR_SYSCALL_BASE+337)
|
|
|
|
+#define __NR_set_robust_list (__NR_SYSCALL_BASE+338)
|
|
|
|
+#define __NR_get_robust_list (__NR_SYSCALL_BASE+339)
|
|
|
|
+#define __NR_splice (__NR_SYSCALL_BASE+340)
|
|
|
|
+#define __NR_arm_sync_file_range (__NR_SYSCALL_BASE+341)
|
|
|
|
+#define __NR_sync_file_range2 __NR_arm_sync_file_range
|
|
|
|
+#define __NR_tee (__NR_SYSCALL_BASE+342)
|
|
|
|
+#define __NR_vmsplice (__NR_SYSCALL_BASE+343)
|
|
|
|
+#define __NR_move_pages (__NR_SYSCALL_BASE+344)
|
|
|
|
+#define __NR_getcpu (__NR_SYSCALL_BASE+345)
|
|
|
|
+#define __NR_epoll_pwait (__NR_SYSCALL_BASE+346)
|
|
|
|
+#define __NR_kexec_load (__NR_SYSCALL_BASE+347)
|
|
|
|
+#define __NR_utimensat (__NR_SYSCALL_BASE+348)
|
|
|
|
+#define __NR_signalfd (__NR_SYSCALL_BASE+349)
|
|
|
|
+#define __NR_timerfd_create (__NR_SYSCALL_BASE+350)
|
|
|
|
+#define __NR_eventfd (__NR_SYSCALL_BASE+351)
|
|
|
|
+#define __NR_fallocate (__NR_SYSCALL_BASE+352)
|
|
|
|
+#define __NR_timerfd_settime (__NR_SYSCALL_BASE+353)
|
|
|
|
+#define __NR_timerfd_gettime (__NR_SYSCALL_BASE+354)
|
|
|
|
+#define __NR_signalfd4 (__NR_SYSCALL_BASE+355)
|
|
|
|
+#define __NR_eventfd2 (__NR_SYSCALL_BASE+356)
|
|
|
|
+#define __NR_epoll_create1 (__NR_SYSCALL_BASE+357)
|
|
|
|
+#define __NR_dup3 (__NR_SYSCALL_BASE+358)
|
|
|
|
+#define __NR_pipe2 (__NR_SYSCALL_BASE+359)
|
|
|
|
+#define __NR_inotify_init1 (__NR_SYSCALL_BASE+360)
|
|
|
|
+#define __NR_preadv (__NR_SYSCALL_BASE+361)
|
|
|
|
+#define __NR_pwritev (__NR_SYSCALL_BASE+362)
|
|
|
|
+#define __NR_rt_tgsigqueueinfo (__NR_SYSCALL_BASE+363)
|
|
|
|
+#define __NR_perf_event_open (__NR_SYSCALL_BASE+364)
|
|
|
|
+#define __NR_recvmmsg (__NR_SYSCALL_BASE+365)
|
|
|
|
+#define __NR_accept4 (__NR_SYSCALL_BASE+366)
|
|
|
|
+#define __NR_fanotify_init (__NR_SYSCALL_BASE+367)
|
|
|
|
+#define __NR_fanotify_mark (__NR_SYSCALL_BASE+368)
|
|
|
|
+#define __NR_prlimit64 (__NR_SYSCALL_BASE+369)
|
|
|
|
+#define __NR_name_to_handle_at (__NR_SYSCALL_BASE+370)
|
|
|
|
+#define __NR_open_by_handle_at (__NR_SYSCALL_BASE+371)
|
|
|
|
+#define __NR_clock_adjtime (__NR_SYSCALL_BASE+372)
|
|
|
|
+#define __NR_syncfs (__NR_SYSCALL_BASE+373)
|
|
|
|
+#define __NR_sendmmsg (__NR_SYSCALL_BASE+374)
|
|
|
|
+#define __NR_setns (__NR_SYSCALL_BASE+375)
|
|
|
|
+#define __NR_process_vm_readv (__NR_SYSCALL_BASE+376)
|
|
|
|
+#define __NR_process_vm_writev (__NR_SYSCALL_BASE+377)
|
|
|
|
+ /* 378 for kcmp */
|
|
|
|
+#define __NR_finit_module (__NR_SYSCALL_BASE+379)
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * This may need to be greater than __NR_last_syscall+1 in order to
|
|
|
|
+ * account for the padding in the syscall table
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * The following SWIs are ARM private.
|
|
|
|
+ */
|
|
|
|
+#define __ARM_NR_BASE (__NR_SYSCALL_BASE+0x0f0000)
|
|
|
|
+#define __ARM_NR_breakpoint (__ARM_NR_BASE+1)
|
|
|
|
+#define __ARM_NR_cacheflush (__ARM_NR_BASE+2)
|
|
|
|
+#define __ARM_NR_usr26 (__ARM_NR_BASE+3)
|
|
|
|
+#define __ARM_NR_usr32 (__ARM_NR_BASE+4)
|
|
|
|
+#define __ARM_NR_set_tls (__ARM_NR_BASE+5)
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * *NOTE*: This is a ghost syscall private to the kernel. Only the
|
|
|
|
+ * __kuser_cmpxchg code in entry-armv.S should be aware of its
|
|
|
|
+ * existence. Don't ever use this from user code.
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * The following syscalls are obsolete and no longer available for EABI.
|
|
|
|
+ */
|
|
|
|
+#if !defined(__KERNEL__)
|
|
|
|
+#if defined(__ARM_EABI__)
|
|
|
|
+#undef __NR_time
|
|
|
|
+#undef __NR_umount
|
|
|
|
+#undef __NR_stime
|
|
|
|
+#undef __NR_alarm
|
|
|
|
+#undef __NR_utime
|
|
|
|
+#undef __NR_getrlimit
|
|
|
|
+#undef __NR_select
|
|
|
|
+#undef __NR_readdir
|
|
|
|
+#undef __NR_mmap
|
|
|
|
+#undef __NR_socketcall
|
|
|
|
+#undef __NR_syscall
|
|
|
|
+#undef __NR_ipc
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#endif /* _UAPI__ASM_ARM_UNISTD_H */
|