Skip to content

Commit

Permalink
Linux: Add oddly-named arm syscalls to syscall-names.list
Browse files Browse the repository at this point in the history
<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.
  • Loading branch information
fweimer-rh committed Jun 1, 2019
1 parent 9250e66 commit 0bb8f8c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2019-05-31 Florian Weimer <[email protected]>

* 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 <[email protected]>

* sysdeps/powerpc/Makefile
Expand Down
5 changes: 5 additions & 0 deletions sysdeps/unix/sysv/linux/syscall-names.list
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ bdflush
bind
bpf
break
breakpoint
brk
cachectl
cacheflush
Expand Down Expand Up @@ -139,6 +140,7 @@ get_kernel_syms
get_mempolicy
get_robust_list
get_thread_area
get_tls
getcpu
getcwd
getdents
Expand Down Expand Up @@ -499,6 +501,7 @@ set_mempolicy
set_robust_list
set_thread_area
set_tid_address
set_tls
setdomainname
setfsgid
setfsgid32
Expand Down Expand Up @@ -611,6 +614,8 @@ unlinkat
unshare
uselib
userfaultfd
usr26
usr32
ustat
utime
utimensat
Expand Down

0 comments on commit 0bb8f8c

Please sign in to comment.