8a8cfb
commit 0bb8f8c791862a4ff38a584af23bbb5bf3f90acd
8a8cfb
Author: Florian Weimer <fweimer@redhat.com>
8a8cfb
Date:   Fri May 31 13:52:16 2019 +0200
8a8cfb
8a8cfb
    Linux: Add oddly-named arm syscalls to syscall-names.list
8a8cfb
    
8a8cfb
    <asm/unistd.h> on arm defines the following macros:
8a8cfb
    
8a8cfb
    #define __ARM_NR_breakpoint             (__ARM_NR_BASE+1)
8a8cfb
    #define __ARM_NR_cacheflush             (__ARM_NR_BASE+2)
8a8cfb
    #define __ARM_NR_usr26                  (__ARM_NR_BASE+3)
8a8cfb
    #define __ARM_NR_usr32                  (__ARM_NR_BASE+4)
8a8cfb
    #define __ARM_NR_set_tls                (__ARM_NR_BASE+5)
8a8cfb
    #define __ARM_NR_get_tls                (__ARM_NR_BASE+6)
8a8cfb
    
8a8cfb
    These do not follow the regular __NR_* naming convention and
8a8cfb
    have so far been ignored by the syscall-names.list consistency
8a8cfb
    checks.  This commit adds these names to the file, preparing
8a8cfb
    for the availability of these names in the regular __NR_*
8a8cfb
    namespace.
8a8cfb
8a8cfb
diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list
8a8cfb
index 2d0354b8b3..ae8adabb70 100644
8a8cfb
--- a/sysdeps/unix/sysv/linux/syscall-names.list
8a8cfb
+++ b/sysdeps/unix/sysv/linux/syscall-names.list
8a8cfb
@@ -52,6 +52,7 @@ bdflush
8a8cfb
 bind
8a8cfb
 bpf
8a8cfb
 break
8a8cfb
+breakpoint
8a8cfb
 brk
8a8cfb
 cachectl
8a8cfb
 cacheflush
8a8cfb
@@ -139,6 +140,7 @@ get_kernel_syms
8a8cfb
 get_mempolicy
8a8cfb
 get_robust_list
8a8cfb
 get_thread_area
8a8cfb
+get_tls
8a8cfb
 getcpu
8a8cfb
 getcwd
8a8cfb
 getdents
8a8cfb
@@ -499,6 +501,7 @@ set_mempolicy
8a8cfb
 set_robust_list
8a8cfb
 set_thread_area
8a8cfb
 set_tid_address
8a8cfb
+set_tls
8a8cfb
 setdomainname
8a8cfb
 setfsgid
8a8cfb
 setfsgid32
8a8cfb
@@ -611,6 +614,8 @@ unlinkat
8a8cfb
 unshare
8a8cfb
 uselib
8a8cfb
 userfaultfd
8a8cfb
+usr26
8a8cfb
+usr32
8a8cfb
 ustat
8a8cfb
 utime
8a8cfb
 utimensat