diff options
author | Paul Moore <paul@paul-moore.com> | 2020-03-23 16:11:34 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-03-23 16:16:16 -0400 |
commit | 8c8b5cb12c4da769e7a25f720bec3bfbfb15d3f6 (patch) | |
tree | 97d0fc21ba43d00efa9320f8ca35bd067edc002c | |
parent | 8e9bf004c40e20bb8112f6e61bb7881112b010ef (diff) | |
download | libseccomp-8c8b5cb12c4da769e7a25f720bec3bfbfb15d3f6.tar.gz |
arch: fix the library output of arch-syscall-validate
We no longer need to correct the syscall offsets for x32, mips,
mips64, and mips64n32.
Signed-off-by: Paul Moore <paul@paul-moore.com>
-rwxr-xr-x | src/arch-syscall-validate | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/arch-syscall-validate b/src/arch-syscall-validate index 4119963..4ac41f1 100755 --- a/src/arch-syscall-validate +++ b/src/arch-syscall-validate @@ -227,8 +227,7 @@ function dump_sys_x32() { # Dump the library's syscall table to stdout. # function dump_lib_x32() { - # 1073741824 == 0x40000000 - dump_lib_arch x32 1073741824 | mangle_lib_syscall x32 + dump_lib_arch x32 | mangle_lib_syscall x32 } # @@ -342,7 +341,7 @@ function dump_sys_mips() { # Dump the library's syscall table to stdout. # function dump_lib_mips() { - dump_lib_arch mips 4000 | mangle_lib_syscall mips + dump_lib_arch mips | mangle_lib_syscall mips } # @@ -381,7 +380,7 @@ function dump_sys_mips64() { # Dump the library's syscall table to stdout. # function dump_lib_mips64() { - dump_lib_arch mips64 5000 | mangle_lib_syscall mips64 + dump_lib_arch mips64 | mangle_lib_syscall mips64 } # @@ -420,7 +419,7 @@ function dump_sys_mips64n32() { # Dump the library's syscall table to stdout. # function dump_lib_mips64n32() { - dump_lib_arch mips64n32 6000 | mangle_lib_syscall mips64n32 + dump_lib_arch mips64n32 | mangle_lib_syscall mips64n32 } # |