diff options
author | Paul Moore <pmoore@redhat.com> | 2014-09-25 16:28:38 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-02-06 17:50:10 -0500 |
commit | 6d7b7c8e27b0cb2ba0470ff02917d1faba9430ba (patch) | |
tree | 928c1d043f15f3d11429fb7efcc31fb3276a0167 /include | |
parent | da7c08dd54e9403d0c5b62baf38c37db838b7013 (diff) | |
download | libseccomp-6d7b7c8e27b0cb2ba0470ff02917d1faba9430ba.tar.gz |
arch: add a ppc64 syscall table
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/seccomp.h.in | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in index 658107e..7e96b49 100644 --- a/include/seccomp.h.in +++ b/include/seccomp.h.in @@ -151,6 +151,15 @@ struct scmp_arg_cmp { #define SCMP_ARCH_MIPSEL64N32 AUDIT_ARCH_MIPSEL64N32 /** + * The PowerPC architecture tokens + */ +#define SCMP_ARCH_PPC64 AUDIT_ARCH_PPC64 +#ifndef AUDIT_ARCH_PPC64LE +#define AUDIT_ARCH_PPC64LE (EM_PPC64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +#endif +#define SCMP_ARCH_PPC64LE AUDIT_ARCH_PPC64LE + +/** * Convert a syscall name into the associated syscall number * @param x the syscall name */ @@ -1424,6 +1433,41 @@ int seccomp_export_bpf(const scmp_filter_ctx ctx, int fd); #define __NR_utimes __PNR_utimes #endif /* __NR_utimes */ +#define __PNR_multiplexer -10180 +#ifndef __NR_multiplexer +#define __NR_multiplexer __PNR_multiplexer +#endif /* __NR_multiplexer */ + +#define __PNR_rtas -10181 +#ifndef __NR_rtas +#define __NR_rtas __PNR_rtas +#endif /* __NR_rtas */ + +#define __PNR_spu_create -10182 +#ifndef __NR_spu_create +#define __NR_spu_create __PNR_spu_create +#endif /* __NR_spu_create */ + +#define __PNR_spu_run -10183 +#ifndef __NR_spu_run +#define __NR_spu_run __PNR_spu_run +#endif /* __NR_spu_run */ + +#define __PNR_subpage_prot -10184 +#ifndef __NR_subpage_prot +#define __NR_subpage_prot __PNR_subpage_prot +#endif /* __NR_subpage_prot */ + +#define __PNR_swapcontext -10185 +#ifndef __NR_swapcontext +#define __NR_swapcontext __PNR_swapcontext +#endif /* __NR_swapcontext */ + +#define __PNR_sys_debug_setcontext -10186 +#ifndef __NR_sys_debug_setcontext +#define __NR_sys_debug_setcontext __PNR_sys_debug_setcontext +#endif /* __NR_sys_debug_setcontext */ + #ifdef __cplusplus } #endif |