[asm-arm] add syscall support from 4.10 51/229551/1 accepted/tizen/base/20200403.042712 submit/tizen_base/20200402.020528 submit/tizen_base/20200402.030150 submit/tizen_base/20200402.030221
authorDongkyun Son <dongkyun.s@samsung.com>
Wed, 1 Apr 2020 12:32:25 +0000 (21:32 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 2 Apr 2020 01:46:18 +0000 (10:46 +0900)
getrandom() was introduced in version 3.17 of the Linux kernel.

Change-Id: I0315630b9f2c3a8ba332bb55320a24334aacf153
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
usr/include/asm-arm/unistd.h

index 896d514..c53c5a4 100644 (file)
 #define __NR_process_vm_writev         (__NR_SYSCALL_BASE+377)
 #define __NR_kcmp                      (__NR_SYSCALL_BASE+378)
 #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
- */
+#define __NR_sched_setattr             (__NR_SYSCALL_BASE+380)
+#define __NR_sched_getattr             (__NR_SYSCALL_BASE+381)
+#define __NR_renameat2                 (__NR_SYSCALL_BASE+382)
+#define __NR_seccomp                   (__NR_SYSCALL_BASE+383)
+#define __NR_getrandom                 (__NR_SYSCALL_BASE+384)
+#define __NR_memfd_create              (__NR_SYSCALL_BASE+385)
+#define __NR_bpf                       (__NR_SYSCALL_BASE+386)
+#define __NR_execveat                  (__NR_SYSCALL_BASE+387)
 
 /*
  * The following SWIs are ARM private.
 #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(__ARM_EABI__)