summaryrefslogtreecommitdiff
path: root/src/arch-x86.h
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2014-08-22 14:57:48 -0400
committerPaul Moore <pmoore@redhat.com>2014-08-27 10:43:11 -0400
commit4dd234df40d0c228f5fe40fa45b05afb36e607f1 (patch)
tree59d2d01f19b8ba02bf504f4f1494a3dd00cdbee7 /src/arch-x86.h
parentc188588835d060e41e484e7b7ad4a78e7282b33e (diff)
downloadlibseccomp-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.h')
-rw-r--r--src/arch-x86.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/arch-x86.h b/src/arch-x86.h
index 9461f3d..163d0ed 100644
--- a/src/arch-x86.h
+++ b/src/arch-x86.h
@@ -28,12 +28,8 @@
#include "db.h"
#include "system.h"
-#define x86_arg_count_max 6
-
extern const struct arch_def arch_def_x86;
-#define x86_arg_offset(x) (offsetof(struct seccomp_data, args[x]))
-
int x86_syscall_resolve_name(const char *name);
const char *x86_syscall_resolve_num(int num);