summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Hromatka <tom.hromatka@oracle.com>2019-02-08 10:14:09 -0700
committerPaul Moore <paul@paul-moore.com>2019-02-19 13:31:37 -0500
commitbd42d36c9b9f4e892a1d30c192dcbd11a5b7f1dd (patch)
tree1764bfee5c2e5adefa4fd6f5233cb19e5b72fee0 /include
parent4a35b6ea6f7c836734536420c50a2745a9e24c69 (diff)
downloadlibseccomp-bd42d36c9b9f4e892a1d30c192dcbd11a5b7f1dd.tar.gz
arch: update the syscalls for Linux v5.0-rc5
Key changes include: * Added __NR_statx, __NR_io_pgetevents, and __NR_rseq syscalls to seccomp.h.in * mips architecture now generates some of its syscall header files. Added logic to arch-syscall-validate to create these headers * ppc architecture now uses a syscall.tbl * s390 now uses a syscall.tbl This addresses GitHub issue #136 Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
-rw-r--r--include/seccomp.h.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in
index 3a02580..20ce45e 100644
--- a/include/seccomp.h.in
+++ b/include/seccomp.h.in
@@ -1690,6 +1690,21 @@ int seccomp_export_bpf(const scmp_filter_ctx ctx, int fd);
#define __NR_subpage_prot __PNR_subpage_prot
#endif /* __NR_subpage_prot */
+#define __PNR_statx -10208
+#ifndef __NR_statx
+#define __NR_statx __PNR_statx
+#endif /* __NR_statx */
+
+#define __PNR_io_pgetevents -10209
+#ifndef __NR_io_pgetevents
+#define __NR_io_pgetevents __PNR_io_pgetevents
+#endif /* __NR_io_pgetevents */
+
+#define __PNR_rseq -10210
+#ifndef __NR_rseq
+#define __NR_rseq __PNR_rseq
+#endif /* __NR_rseq */
+
#ifdef __cplusplus
}
#endif