diff options
author | Paul Moore <pmoore@redhat.com> | 2013-01-28 18:00:24 -0500 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2013-03-26 18:15:10 -0400 |
commit | e9b5a6eb238856bf73f53890119aab559afcb0f0 (patch) | |
tree | 656c1dd304424373d5004320ac576cee8ded16df /src/arch-x32.h | |
parent | 0dd63c16e5be76a1f6d0c1e4d9f06f8a700d75f8 (diff) | |
download | libseccomp-e9b5a6eb238856bf73f53890119aab559afcb0f0.tar.gz |
arch: add basic x32 support
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/arch-x32.h')
-rw-r--r-- | src/arch-x32.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/arch-x32.h b/src/arch-x32.h new file mode 100644 index 0000000..9f54e81 --- /dev/null +++ b/src/arch-x32.h @@ -0,0 +1,35 @@ +/** + * Enhanced Seccomp x32 Specific Code + * + * Copyright (c) 2013 Red Hat <pmoore@redhat.com> + * Author: Paul Moore <pmoore@redhat.com> + */ + +/* + * This library is free software; you can redistribute it and/or modify it + * under the terms of version 2.1 of the GNU Lesser General Public License as + * published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License + * for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this library; if not, see <http://www.gnu.org/licenses>. + */ + +#ifndef _ARCH_X32_H +#define _ARCH_X32_H + +#include <inttypes.h> + +#include "arch.h" +#include "system.h" + +#define x32_arg_count_max 6 + +extern const struct arch_def arch_def_x32; +extern const struct arch_syscall_def x32_syscall_table[]; + +#endif |