diff options
author | Paul Moore <pmoore@redhat.com> | 2014-08-22 14:57:48 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2014-08-27 10:43:11 -0400 |
commit | 4dd234df40d0c228f5fe40fa45b05afb36e607f1 (patch) | |
tree | 59d2d01f19b8ba02bf504f4f1494a3dd00cdbee7 /src/arch-x86_64.h | |
parent | c188588835d060e41e484e7b7ad4a78e7282b33e (diff) | |
download | libseccomp-4dd234df40d0c228f5fe40fa45b05afb36e607f1.tar.gz |
arch: perform a number of simplications in the arch code
I've been putting off simplifing the arch specific code until we had
enough ABIs to know what simplifications made sense. Well, our
supported ABI list is not quite reasonable so go ahead and clean
things up a bit.
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/arch-x86_64.h')
-rw-r--r-- | src/arch-x86_64.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/arch-x86_64.h b/src/arch-x86_64.h index babb049..c74e0c6 100644 --- a/src/arch-x86_64.h +++ b/src/arch-x86_64.h @@ -27,14 +27,8 @@ #include "arch.h" #include "system.h" -#define x86_64_arg_count_max 6 - extern const struct arch_def arch_def_x86_64; -#define x86_64_arg_offset(x) (offsetof(struct seccomp_data, args[x])) -#define x86_64_arg_offset_lo(x) (x86_64_arg_offset(x)) -#define x86_64_arg_offset_hi(x) (x86_64_arg_offset(x) + 4) - int x86_64_syscall_resolve_name(const char *name); const char *x86_64_syscall_resolve_num(int num); |