about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-05-31 13:52:16 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-06-01 13:33:49 +0200
commit0bb8f8c791862a4ff38a584af23bbb5bf3f90acd (patch)
tree24c2755d401649e5fd58af1fec3aa5ce59fdc05a
parent9250e6610fdb0f3a6f238d2813e319a41fb7a810 (diff)
downloadglibc-0bb8f8c791862a4ff38a584af23bbb5bf3f90acd.tar.gz
glibc-0bb8f8c791862a4ff38a584af23bbb5bf3f90acd.tar.xz
glibc-0bb8f8c791862a4ff38a584af23bbb5bf3f90acd.zip
Linux: Add oddly-named arm syscalls to syscall-names.list
<asm/unistd.h> on arm defines the following macros:

#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)
#define __ARM_NR_get_tls                (__ARM_NR_BASE+6)

These do not follow the regular __NR_* naming convention and
have so far been ignored by the syscall-names.list consistency
checks.  This commit adds these names to the file, preparing
for the availability of these names in the regular __NR_*
namespace.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/unix/sysv/linux/syscall-names.list5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b7b9203f1d..88a34cf9d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-05-31  Florian Weimer  <fweimer@redhat.com>
+
+	* sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
+	system calls for the arm architecture: breakpoint, get_tls,
+	set_tls, usr26, usr32.
+
 2019-05-30  Gabriel F. T. Gomes  <gabrielftg@linux.ibm.com>
 
 	* sysdeps/powerpc/Makefile
diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list
index 2d0354b8b3..ae8adabb70 100644
--- a/sysdeps/unix/sysv/linux/syscall-names.list
+++ b/sysdeps/unix/sysv/linux/syscall-names.list
@@ -52,6 +52,7 @@ bdflush
 bind
 bpf
 break
+breakpoint
 brk
 cachectl
 cacheflush
@@ -139,6 +140,7 @@ get_kernel_syms
 get_mempolicy
 get_robust_list
 get_thread_area
+get_tls
 getcpu
 getcwd
 getdents
@@ -499,6 +501,7 @@ set_mempolicy
 set_robust_list
 set_thread_area
 set_tid_address
+set_tls
 setdomainname
 setfsgid
 setfsgid32
@@ -611,6 +614,8 @@ unlinkat
 unshare
 uselib
 userfaultfd
+usr26
+usr32
 ustat
 utime
 utimensat