summaryrefslogtreecommitdiff
path: root/src/arch-x32-syscalls.c
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2015-05-06 12:05:45 -0400
committerPaul Moore <pmoore@redhat.com>2015-05-06 12:05:45 -0400
commita710a2d246bdc73ba77e3ff5624e790688cc51fd (patch)
tree76f3356cc31d1023cc71e55bbb470801589039c0 /src/arch-x32-syscalls.c
parentd1019115acdc8460c9a1f8a878768001a3c32431 (diff)
downloadlibseccomp-a710a2d246bdc73ba77e3ff5624e790688cc51fd.tar.gz
arm: add some missing syscalls
Add the following syscalls to the ARM arch/ABI and update the syscall validation script. * breakpoint() * cacheflush() * usr26() * usr32() * set_tls() Reported-by: Purcareata Bogdan <b43198@freescale.com> Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/arch-x32-syscalls.c')
-rw-r--r--src/arch-x32-syscalls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch-x32-syscalls.c b/src/arch-x32-syscalls.c
index 7876aa7..dc4af60 100644
--- a/src/arch-x32-syscalls.c
+++ b/src/arch-x32-syscalls.c
@@ -46,6 +46,7 @@ const struct arch_syscall_def x32_syscall_table[] = { \
{ "bind", (X32_SYSCALL_BIT + 49) },
{ "bpf", (X32_SYSCALL_BIT + 321) },
{ "break", __PNR_break },
+ { "breakpoint", __PNR_breakpoint },
{ "brk", (X32_SYSCALL_BIT + 12) },
{ "cachectl", __PNR_cachectl },
{ "cacheflush", __PNR_cacheflush },
@@ -322,6 +323,7 @@ const struct arch_syscall_def x32_syscall_table[] = { \
{ "set_robust_list", (X32_SYSCALL_BIT + 530) },
{ "set_thread_area", __PNR_set_thread_area },
{ "set_tid_address", (X32_SYSCALL_BIT + 218) },
+ { "set_tls", __PNR_set_tls },
{ "setdomainname", (X32_SYSCALL_BIT + 171) },
{ "setfsgid", (X32_SYSCALL_BIT + 123) },
{ "setfsgid32", __PNR_setfsgid32 },
@@ -417,6 +419,8 @@ const struct arch_syscall_def x32_syscall_table[] = { \
{ "unlinkat", (X32_SYSCALL_BIT + 263) },
{ "unshare", (X32_SYSCALL_BIT + 272) },
{ "uselib", __PNR_uselib },
+ { "usr26", __PNR_usr26 },
+ { "usr32", __PNR_usr32 },
{ "ustat", (X32_SYSCALL_BIT + 136) },
{ "utime", (X32_SYSCALL_BIT + 132) },
{ "utimensat", (X32_SYSCALL_BIT + 280) },