summaryrefslogtreecommitdiff
path: root/src/arch-x32-syscalls.c
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2012-07-20 16:22:36 -0400
committerPaul Moore <pmoore@redhat.com>2013-03-26 18:15:10 -0400
commitdb440d1e4fb6b620d8e4f4463036fbc89986fb9d (patch)
tree1ed203335e727cd0d2518a31179a5d9dca00efb7 /src/arch-x32-syscalls.c
parente9b5a6eb238856bf73f53890119aab559afcb0f0 (diff)
downloadlibseccomp-db440d1e4fb6b620d8e4f4463036fbc89986fb9d.tar.gz
arch: add basic ARM support
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/arch-x32-syscalls.c')
-rw-r--r--src/arch-x32-syscalls.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/arch-x32-syscalls.c b/src/arch-x32-syscalls.c
index 0985f2a..31d915d 100644
--- a/src/arch-x32-syscalls.c
+++ b/src/arch-x32-syscalls.c
@@ -37,6 +37,8 @@ const struct arch_syscall_def x32_syscall_table[] = \
{ "adjtimex", (__X32_SYSCALL_BIT + 159) },
{ "afs_syscall", (__X32_SYSCALL_BIT + 183) },
{ "alarm", (__X32_SYSCALL_BIT + 37) },
+ { "arm_fadvise64_64", __PNR_arm_fadvise64_64 },
+ { "arm_sync_file_range", __PNR_arm_sync_file_range },
{ "arch_prctl", (__X32_SYSCALL_BIT + 158) },
{ "bdflush", __PNR_bdflush },
{ "bind", (__X32_SYSCALL_BIT + 49) },
@@ -91,6 +93,7 @@ const struct arch_syscall_def x32_syscall_table[] = \
{ "fcntl64", __PNR_fcntl64 },
{ "fdatasync", (__X32_SYSCALL_BIT + 75) },
{ "fgetxattr", (__X32_SYSCALL_BIT + 193) },
+ { "finit_module", __PNR_finit_module },
{ "flistxattr", (__X32_SYSCALL_BIT + 196) },
{ "flock", (__X32_SYSCALL_BIT + 73) },
{ "fork", (__X32_SYSCALL_BIT + 57) },
@@ -99,8 +102,8 @@ const struct arch_syscall_def x32_syscall_table[] = \
{ "fstat", (__X32_SYSCALL_BIT + 5) },
{ "fstat64", __PNR_fstat64 },
{ "fstatat64", __PNR_fstatat64 },
- { "fstatfs64", __PNR_fstatfs64 },
{ "fstatfs", (__X32_SYSCALL_BIT + 138) },
+ { "fstatfs64", __PNR_fstatfs64 },
{ "fsync", (__X32_SYSCALL_BIT + 74) },
{ "ftime", __PNR_ftime },
{ "ftruncate", (__X32_SYSCALL_BIT + 77) },
@@ -219,8 +222,8 @@ const struct arch_syscall_def x32_syscall_table[] = \
{ "nanosleep", (__X32_SYSCALL_BIT + 35) },
{ "_newselect", __PNR__newselect },
{ "newfstatat", (__X32_SYSCALL_BIT + 262) },
- { "nice", __PNR_nice },
{ "nfsservctl", __PNR_nfsservctl },
+ { "nice", __PNR_nice },
{ "oldfstat", __PNR_oldfstat },
{ "oldlstat", __PNR_oldlstat },
{ "oldolduname", __PNR_oldolduname },
@@ -230,6 +233,9 @@ const struct arch_syscall_def x32_syscall_table[] = \
{ "open_by_handle_at", (__X32_SYSCALL_BIT + 304) },
{ "openat", (__X32_SYSCALL_BIT + 257) },
{ "pause", (__X32_SYSCALL_BIT + 34) },
+ { "pciconfig_iobase", __PNR_pciconfig_iobase },
+ { "pciconfig_read", __PNR_pciconfig_read },
+ { "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", (__X32_SYSCALL_BIT + 298) },
{ "personality", (__X32_SYSCALL_BIT + 135) },
{ "pipe", (__X32_SYSCALL_BIT + 22) },
@@ -365,7 +371,9 @@ const struct arch_syscall_def x32_syscall_table[] = \
{ "symlinkat", (__X32_SYSCALL_BIT + 266) },
{ "sync", (__X32_SYSCALL_BIT + 162) },
{ "sync_file_range", (__X32_SYSCALL_BIT + 277) },
+ { "sync_file_range2", __PNR_sync_file_range2 },
{ "syncfs", (__X32_SYSCALL_BIT + 306) },
+ { "syscall", __PNR_syscall },
{ "_sysctl", __PNR__sysctl },
{ "sysfs", (__X32_SYSCALL_BIT + 139) },
{ "sysinfo", (__X32_SYSCALL_BIT + 99) },