summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2018-09-22 15:18:12 -0400
committerPaul Moore <paul@paul-moore.com>2018-09-22 15:18:12 -0400
commit1e64feb5f1a9ea02687228e3073e8b784a04ce46 (patch)
treeca5ac2cb60d4da6ee1433c8a2599b3c80c189efa /include
parent9d4f7f69714d5af80309aa1b8a6d2c8300bb6730 (diff)
downloadlibseccomp-1e64feb5f1a9ea02687228e3073e8b784a04ce46.tar.gz
api: renumber the pseudo syscall for subpage_prot()
Unfortunately the pseduo syscall number for subpage_prot() was already in use by spu_run() so renumber it to a free pseduo syscall number. Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
-rw-r--r--include/seccomp.h.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in
index ab6a638..3a02580 100644
--- a/include/seccomp.h.in
+++ b/include/seccomp.h.in
@@ -1591,11 +1591,6 @@ int seccomp_export_bpf(const scmp_filter_ctx ctx, int fd);
#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
@@ -1690,6 +1685,11 @@ int seccomp_export_bpf(const scmp_filter_ctx ctx, int fd);
#define __NR_s390_sthyi __PNR_s390_sthyi
#endif /* __NR_s390_sthyi */
+#define __PNR_subpage_prot -10207
+#ifndef __NR_subpage_prot
+#define __NR_subpage_prot __PNR_subpage_prot
+#endif /* __NR_subpage_prot */
+
#ifdef __cplusplus
}
#endif