diff options
author | Paul Moore <pmoore@redhat.com> | 2015-08-05 12:00:34 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-08-05 12:00:34 -0400 |
commit | 29753076fddfed772511c67887bed1f0621b32cf (patch) | |
tree | 2b9d96ff167aae8d3aff6667a8fba8445559f533 /include/seccomp.h.in | |
parent | 62c59aab8d72787c5055f704660a132a0b83386b (diff) | |
parent | 0843a460f72da50756432a021c387fe8a7ab0bd5 (diff) | |
download | libseccomp-29753076fddfed772511c67887bed1f0621b32cf.tar.gz |
Merge branch 'working-ppc64'
Mike Strosaker <strosake@linux.vnet.ibm.com> reports that the
working-ppc64 branch is working for both 'make check' and './regression
-T live'.
Diffstat (limited to 'include/seccomp.h.in')
-rw-r--r-- | include/seccomp.h.in | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in index 4cfc17c..d100dc8 100644 --- a/include/seccomp.h.in +++ b/include/seccomp.h.in @@ -163,6 +163,16 @@ struct scmp_arg_cmp { #define SCMP_ARCH_MIPSEL64N32 AUDIT_ARCH_MIPSEL64N32 /** + * The PowerPC architecture tokens + */ +#define SCMP_ARCH_PPC AUDIT_ARCH_PPC +#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 */ @@ -1476,6 +1486,41 @@ int seccomp_export_bpf(const scmp_filter_ctx ctx, int fd); #define __NR_usr32 __PNR_usr32 #endif /* __ARM_NR_usr32 */ +#define __PNR_multiplexer -10186 +#ifndef __NR_multiplexer +#define __NR_multiplexer __PNR_multiplexer +#endif /* __NR_multiplexer */ + +#define __PNR_rtas -10187 +#ifndef __NR_rtas +#define __NR_rtas __PNR_rtas +#endif /* __NR_rtas */ + +#define __PNR_spu_create -10188 +#ifndef __NR_spu_create +#define __NR_spu_create __PNR_spu_create +#endif /* __NR_spu_create */ + +#define __PNR_spu_run -10189 +#ifndef __NR_spu_run +#define __NR_spu_run __PNR_spu_run +#endif /* __NR_spu_run */ + +#define __PNR_subpage_prot -10189 +#ifndef __NR_subpage_prot +#define __NR_subpage_prot __PNR_subpage_prot +#endif /* __NR_subpage_prot */ + +#define __PNR_swapcontext -10190 +#ifndef __NR_swapcontext +#define __NR_swapcontext __PNR_swapcontext +#endif /* __NR_swapcontext */ + +#define __PNR_sys_debug_setcontext -10191 +#ifndef __NR_sys_debug_setcontext +#define __NR_sys_debug_setcontext __PNR_sys_debug_setcontext +#endif /* __NR_sys_debug_setcontext */ + #ifdef __cplusplus } #endif |