aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-11-17 12:45:19 -0800
committerDmitry Vyukov <dvyukov@google.com>2018-11-17 15:46:36 -0800
commit69f24bcad63704fe2c516fb90596be611d46c570 (patch)
treeaea8e1e2997310140f4b6d2baca77e945b24492b /sys/linux
parent93ec27acb5cf48c9b447c841efa7ee138ba890e4 (diff)
sys/linux: move prctl to a separate file
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/prctl.txt30
-rw-r--r--sys/linux/prctl_386.const69
-rw-r--r--sys/linux/prctl_amd64.const69
-rw-r--r--sys/linux/prctl_arm.const69
-rw-r--r--sys/linux/prctl_arm64.const69
-rw-r--r--sys/linux/prctl_ppc64le.const69
-rw-r--r--sys/linux/sys.txt29
-rw-r--r--sys/linux/sys_386.const68
-rw-r--r--sys/linux/sys_amd64.const68
-rw-r--r--sys/linux/sys_arm.const68
-rw-r--r--sys/linux/sys_arm64.const68
-rw-r--r--sys/linux/sys_ppc64le.const68
12 files changed, 378 insertions, 366 deletions
diff --git a/sys/linux/prctl.txt b/sys/linux/prctl.txt
new file mode 100644
index 000000000..c5e85927f
--- /dev/null
+++ b/sys/linux/prctl.txt
@@ -0,0 +1,30 @@
+# Copyright 2018 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+include <linux/errno.h>
+include <linux/prctl.h>
+include <linux/seccomp.h>
+include <asm/prctl.h>
+
+prctl$void(option flags[prctl_code_void])
+prctl$intptr(option flags[prctl_code_intptr], arg intptr)
+prctl$getreaper(option flags[prctl_code_getreaper], arg ptr[out, intptr])
+prctl$setendian(option const[PR_SET_ENDIAN], arg flags[prctl_endian])
+prctl$setfpexc(option const[PR_SET_FPEXC], arg flags[prctl_fpexc])
+prctl$setname(option const[PR_SET_NAME], name ptr[in, string])
+prctl$getname(option const[PR_GET_NAME], name buffer[out])
+prctl$setptracer(option const[PR_SET_PTRACER], pid pid)
+prctl$seccomp(option const[PR_SET_SECCOMP], mode flags[prctl_seccomp_mode], prog ptr[in, sock_fprog])
+prctl$setmm(option1 const[PR_SET_MM], option2 flags[prctl_mm_option], val vma)
+
+arch_prctl(code flags[arch_prctl_code], addr buffer[in])
+
+prctl_code_void = PR_GET_DUMPABLE, PR_GET_KEEPCAPS, PR_GET_NO_NEW_PRIVS, PR_GET_SECCOMP, PR_GET_SECUREBITS, PR_GET_TIMERSLACK, PR_GET_TIMING, PR_TASK_PERF_EVENTS_DISABLE, PR_TASK_PERF_EVENTS_ENABLE, PR_MCE_KILL_GET
+prctl_code_intptr = PR_CAPBSET_READ, PR_CAPBSET_DROP, PR_SET_CHILD_SUBREAPER, PR_SET_DUMPABLE, PR_SET_FPEMU, PR_SET_KEEPCAPS, PR_SET_NO_NEW_PRIVS, PR_SET_PDEATHSIG, PR_SET_SECUREBITS, PR_SET_TIMERSLACK, PR_SET_TIMING, PR_SET_TSC, PR_SET_UNALIGN, PR_MCE_KILL
+prctl_code_getreaper = PR_GET_CHILD_SUBREAPER, PR_GET_ENDIAN, PR_GET_FPEMU, PR_GET_FPEXC, PR_GET_PDEATHSIG, PR_GET_TID_ADDRESS, PR_GET_TSC, PR_GET_UNALIGN
+prctl_endian = PR_ENDIAN_BIG, PR_ENDIAN_LITTLE, PR_ENDIAN_PPC_LITTLE
+prctl_fpexc = PR_FP_EXC_SW_ENABLE, PR_FP_EXC_DIV, PR_FP_EXC_OVF, PR_FP_EXC_UND, PR_FP_EXC_RES, PR_FP_EXC_INV, PR_FP_EXC_DISABLED, PR_FP_EXC_NONRECOV, PR_FP_EXC_ASYNC, PR_FP_EXC_PRECISE
+prctl_seccomp_mode = SECCOMP_MODE_DISABLED, SECCOMP_MODE_STRICT, SECCOMP_MODE_FILTER
+prctl_mm_option = PR_SET_MM_START_CODE, PR_SET_MM_END_CODE, PR_SET_MM_START_DATA, PR_SET_MM_END_DATA, PR_SET_MM_START_STACK, PR_SET_MM_START_BRK, PR_SET_MM_BRK
+arch_prctl_code = ARCH_GET_FS, ARCH_SET_GS, ARCH_GET_GS
+_ = ARCH_SET_FS
diff --git a/sys/linux/prctl_386.const b/sys/linux/prctl_386.const
new file mode 100644
index 000000000..42ec17792
--- /dev/null
+++ b/sys/linux/prctl_386.const
@@ -0,0 +1,69 @@
+# AUTOGENERATED FILE
+ARCH_GET_FS = 4099
+ARCH_GET_GS = 4100
+ARCH_SET_FS = 4098
+ARCH_SET_GS = 4097
+PR_CAPBSET_DROP = 24
+PR_CAPBSET_READ = 23
+PR_ENDIAN_BIG = 0
+PR_ENDIAN_LITTLE = 1
+PR_ENDIAN_PPC_LITTLE = 2
+PR_FP_EXC_ASYNC = 2
+PR_FP_EXC_DISABLED = 0
+PR_FP_EXC_DIV = 65536
+PR_FP_EXC_INV = 1048576
+PR_FP_EXC_NONRECOV = 1
+PR_FP_EXC_OVF = 131072
+PR_FP_EXC_PRECISE = 3
+PR_FP_EXC_RES = 524288
+PR_FP_EXC_SW_ENABLE = 128
+PR_FP_EXC_UND = 262144
+PR_GET_CHILD_SUBREAPER = 37
+PR_GET_DUMPABLE = 3
+PR_GET_ENDIAN = 19
+PR_GET_FPEMU = 9
+PR_GET_FPEXC = 11
+PR_GET_KEEPCAPS = 7
+PR_GET_NAME = 16
+PR_GET_NO_NEW_PRIVS = 39
+PR_GET_PDEATHSIG = 2
+PR_GET_SECCOMP = 21
+PR_GET_SECUREBITS = 27
+PR_GET_TID_ADDRESS = 40
+PR_GET_TIMERSLACK = 30
+PR_GET_TIMING = 13
+PR_GET_TSC = 25
+PR_GET_UNALIGN = 5
+PR_MCE_KILL = 33
+PR_MCE_KILL_GET = 34
+PR_SET_CHILD_SUBREAPER = 36
+PR_SET_DUMPABLE = 4
+PR_SET_ENDIAN = 20
+PR_SET_FPEMU = 10
+PR_SET_FPEXC = 12
+PR_SET_KEEPCAPS = 8
+PR_SET_MM = 35
+PR_SET_MM_BRK = 7
+PR_SET_MM_END_CODE = 2
+PR_SET_MM_END_DATA = 4
+PR_SET_MM_START_BRK = 6
+PR_SET_MM_START_CODE = 1
+PR_SET_MM_START_DATA = 3
+PR_SET_MM_START_STACK = 5
+PR_SET_NAME = 15
+PR_SET_NO_NEW_PRIVS = 38
+PR_SET_PDEATHSIG = 1
+PR_SET_PTRACER = 1499557217
+PR_SET_SECCOMP = 22
+PR_SET_SECUREBITS = 28
+PR_SET_TIMERSLACK = 29
+PR_SET_TIMING = 14
+PR_SET_TSC = 26
+PR_SET_UNALIGN = 6
+PR_TASK_PERF_EVENTS_DISABLE = 31
+PR_TASK_PERF_EVENTS_ENABLE = 32
+SECCOMP_MODE_DISABLED = 0
+SECCOMP_MODE_FILTER = 2
+SECCOMP_MODE_STRICT = 1
+__NR_arch_prctl = 384
+__NR_prctl = 172
diff --git a/sys/linux/prctl_amd64.const b/sys/linux/prctl_amd64.const
new file mode 100644
index 000000000..a45c6b891
--- /dev/null
+++ b/sys/linux/prctl_amd64.const
@@ -0,0 +1,69 @@
+# AUTOGENERATED FILE
+ARCH_GET_FS = 4099
+ARCH_GET_GS = 4100
+ARCH_SET_FS = 4098
+ARCH_SET_GS = 4097
+PR_CAPBSET_DROP = 24
+PR_CAPBSET_READ = 23
+PR_ENDIAN_BIG = 0
+PR_ENDIAN_LITTLE = 1
+PR_ENDIAN_PPC_LITTLE = 2
+PR_FP_EXC_ASYNC = 2
+PR_FP_EXC_DISABLED = 0
+PR_FP_EXC_DIV = 65536
+PR_FP_EXC_INV = 1048576
+PR_FP_EXC_NONRECOV = 1
+PR_FP_EXC_OVF = 131072
+PR_FP_EXC_PRECISE = 3
+PR_FP_EXC_RES = 524288
+PR_FP_EXC_SW_ENABLE = 128
+PR_FP_EXC_UND = 262144
+PR_GET_CHILD_SUBREAPER = 37
+PR_GET_DUMPABLE = 3
+PR_GET_ENDIAN = 19
+PR_GET_FPEMU = 9
+PR_GET_FPEXC = 11
+PR_GET_KEEPCAPS = 7
+PR_GET_NAME = 16
+PR_GET_NO_NEW_PRIVS = 39
+PR_GET_PDEATHSIG = 2
+PR_GET_SECCOMP = 21
+PR_GET_SECUREBITS = 27
+PR_GET_TID_ADDRESS = 40
+PR_GET_TIMERSLACK = 30
+PR_GET_TIMING = 13
+PR_GET_TSC = 25
+PR_GET_UNALIGN = 5
+PR_MCE_KILL = 33
+PR_MCE_KILL_GET = 34
+PR_SET_CHILD_SUBREAPER = 36
+PR_SET_DUMPABLE = 4
+PR_SET_ENDIAN = 20
+PR_SET_FPEMU = 10
+PR_SET_FPEXC = 12
+PR_SET_KEEPCAPS = 8
+PR_SET_MM = 35
+PR_SET_MM_BRK = 7
+PR_SET_MM_END_CODE = 2
+PR_SET_MM_END_DATA = 4
+PR_SET_MM_START_BRK = 6
+PR_SET_MM_START_CODE = 1
+PR_SET_MM_START_DATA = 3
+PR_SET_MM_START_STACK = 5
+PR_SET_NAME = 15
+PR_SET_NO_NEW_PRIVS = 38
+PR_SET_PDEATHSIG = 1
+PR_SET_PTRACER = 1499557217
+PR_SET_SECCOMP = 22
+PR_SET_SECUREBITS = 28
+PR_SET_TIMERSLACK = 29
+PR_SET_TIMING = 14
+PR_SET_TSC = 26
+PR_SET_UNALIGN = 6
+PR_TASK_PERF_EVENTS_DISABLE = 31
+PR_TASK_PERF_EVENTS_ENABLE = 32
+SECCOMP_MODE_DISABLED = 0
+SECCOMP_MODE_FILTER = 2
+SECCOMP_MODE_STRICT = 1
+__NR_arch_prctl = 158
+__NR_prctl = 157
diff --git a/sys/linux/prctl_arm.const b/sys/linux/prctl_arm.const
new file mode 100644
index 000000000..2ea237399
--- /dev/null
+++ b/sys/linux/prctl_arm.const
@@ -0,0 +1,69 @@
+# AUTOGENERATED FILE
+# ARCH_GET_FS is not set
+# ARCH_GET_GS is not set
+# ARCH_SET_FS is not set
+# ARCH_SET_GS is not set
+PR_CAPBSET_DROP = 24
+PR_CAPBSET_READ = 23
+PR_ENDIAN_BIG = 0
+PR_ENDIAN_LITTLE = 1
+PR_ENDIAN_PPC_LITTLE = 2
+PR_FP_EXC_ASYNC = 2
+PR_FP_EXC_DISABLED = 0
+PR_FP_EXC_DIV = 65536
+PR_FP_EXC_INV = 1048576
+PR_FP_EXC_NONRECOV = 1
+PR_FP_EXC_OVF = 131072
+PR_FP_EXC_PRECISE = 3
+PR_FP_EXC_RES = 524288
+PR_FP_EXC_SW_ENABLE = 128
+PR_FP_EXC_UND = 262144
+PR_GET_CHILD_SUBREAPER = 37
+PR_GET_DUMPABLE = 3
+PR_GET_ENDIAN = 19
+PR_GET_FPEMU = 9
+PR_GET_FPEXC = 11
+PR_GET_KEEPCAPS = 7
+PR_GET_NAME = 16
+PR_GET_NO_NEW_PRIVS = 39
+PR_GET_PDEATHSIG = 2
+PR_GET_SECCOMP = 21
+PR_GET_SECUREBITS = 27
+PR_GET_TID_ADDRESS = 40
+PR_GET_TIMERSLACK = 30
+PR_GET_TIMING = 13
+PR_GET_TSC = 25
+PR_GET_UNALIGN = 5
+PR_MCE_KILL = 33
+PR_MCE_KILL_GET = 34
+PR_SET_CHILD_SUBREAPER = 36
+PR_SET_DUMPABLE = 4
+PR_SET_ENDIAN = 20
+PR_SET_FPEMU = 10
+PR_SET_FPEXC = 12
+PR_SET_KEEPCAPS = 8
+PR_SET_MM = 35
+PR_SET_MM_BRK = 7
+PR_SET_MM_END_CODE = 2
+PR_SET_MM_END_DATA = 4
+PR_SET_MM_START_BRK = 6
+PR_SET_MM_START_CODE = 1
+PR_SET_MM_START_DATA = 3
+PR_SET_MM_START_STACK = 5
+PR_SET_NAME = 15
+PR_SET_NO_NEW_PRIVS = 38
+PR_SET_PDEATHSIG = 1
+PR_SET_PTRACER = 1499557217
+PR_SET_SECCOMP = 22
+PR_SET_SECUREBITS = 28
+PR_SET_TIMERSLACK = 29
+PR_SET_TIMING = 14
+PR_SET_TSC = 26
+PR_SET_UNALIGN = 6
+PR_TASK_PERF_EVENTS_DISABLE = 31
+PR_TASK_PERF_EVENTS_ENABLE = 32
+SECCOMP_MODE_DISABLED = 0
+SECCOMP_MODE_FILTER = 2
+SECCOMP_MODE_STRICT = 1
+# __NR_arch_prctl is not set
+__NR_prctl = 172
diff --git a/sys/linux/prctl_arm64.const b/sys/linux/prctl_arm64.const
new file mode 100644
index 000000000..d54b3b458
--- /dev/null
+++ b/sys/linux/prctl_arm64.const
@@ -0,0 +1,69 @@
+# AUTOGENERATED FILE
+# ARCH_GET_FS is not set
+# ARCH_GET_GS is not set
+# ARCH_SET_FS is not set
+# ARCH_SET_GS is not set
+PR_CAPBSET_DROP = 24
+PR_CAPBSET_READ = 23
+PR_ENDIAN_BIG = 0
+PR_ENDIAN_LITTLE = 1
+PR_ENDIAN_PPC_LITTLE = 2
+PR_FP_EXC_ASYNC = 2
+PR_FP_EXC_DISABLED = 0
+PR_FP_EXC_DIV = 65536
+PR_FP_EXC_INV = 1048576
+PR_FP_EXC_NONRECOV = 1
+PR_FP_EXC_OVF = 131072
+PR_FP_EXC_PRECISE = 3
+PR_FP_EXC_RES = 524288
+PR_FP_EXC_SW_ENABLE = 128
+PR_FP_EXC_UND = 262144
+PR_GET_CHILD_SUBREAPER = 37
+PR_GET_DUMPABLE = 3
+PR_GET_ENDIAN = 19
+PR_GET_FPEMU = 9
+PR_GET_FPEXC = 11
+PR_GET_KEEPCAPS = 7
+PR_GET_NAME = 16
+PR_GET_NO_NEW_PRIVS = 39
+PR_GET_PDEATHSIG = 2
+PR_GET_SECCOMP = 21
+PR_GET_SECUREBITS = 27
+PR_GET_TID_ADDRESS = 40
+PR_GET_TIMERSLACK = 30
+PR_GET_TIMING = 13
+PR_GET_TSC = 25
+PR_GET_UNALIGN = 5
+PR_MCE_KILL = 33
+PR_MCE_KILL_GET = 34
+PR_SET_CHILD_SUBREAPER = 36
+PR_SET_DUMPABLE = 4
+PR_SET_ENDIAN = 20
+PR_SET_FPEMU = 10
+PR_SET_FPEXC = 12
+PR_SET_KEEPCAPS = 8
+PR_SET_MM = 35
+PR_SET_MM_BRK = 7
+PR_SET_MM_END_CODE = 2
+PR_SET_MM_END_DATA = 4
+PR_SET_MM_START_BRK = 6
+PR_SET_MM_START_CODE = 1
+PR_SET_MM_START_DATA = 3
+PR_SET_MM_START_STACK = 5
+PR_SET_NAME = 15
+PR_SET_NO_NEW_PRIVS = 38
+PR_SET_PDEATHSIG = 1
+PR_SET_PTRACER = 1499557217
+PR_SET_SECCOMP = 22
+PR_SET_SECUREBITS = 28
+PR_SET_TIMERSLACK = 29
+PR_SET_TIMING = 14
+PR_SET_TSC = 26
+PR_SET_UNALIGN = 6
+PR_TASK_PERF_EVENTS_DISABLE = 31
+PR_TASK_PERF_EVENTS_ENABLE = 32
+SECCOMP_MODE_DISABLED = 0
+SECCOMP_MODE_FILTER = 2
+SECCOMP_MODE_STRICT = 1
+# __NR_arch_prctl is not set
+__NR_prctl = 167
diff --git a/sys/linux/prctl_ppc64le.const b/sys/linux/prctl_ppc64le.const
new file mode 100644
index 000000000..d92c17e10
--- /dev/null
+++ b/sys/linux/prctl_ppc64le.const
@@ -0,0 +1,69 @@
+# AUTOGENERATED FILE
+# ARCH_GET_FS is not set
+# ARCH_GET_GS is not set
+# ARCH_SET_FS is not set
+# ARCH_SET_GS is not set
+PR_CAPBSET_DROP = 24
+PR_CAPBSET_READ = 23
+PR_ENDIAN_BIG = 0
+PR_ENDIAN_LITTLE = 1
+PR_ENDIAN_PPC_LITTLE = 2
+PR_FP_EXC_ASYNC = 2
+PR_FP_EXC_DISABLED = 0
+PR_FP_EXC_DIV = 65536
+PR_FP_EXC_INV = 1048576
+PR_FP_EXC_NONRECOV = 1
+PR_FP_EXC_OVF = 131072
+PR_FP_EXC_PRECISE = 3
+PR_FP_EXC_RES = 524288
+PR_FP_EXC_SW_ENABLE = 128
+PR_FP_EXC_UND = 262144
+PR_GET_CHILD_SUBREAPER = 37
+PR_GET_DUMPABLE = 3
+PR_GET_ENDIAN = 19
+PR_GET_FPEMU = 9
+PR_GET_FPEXC = 11
+PR_GET_KEEPCAPS = 7
+PR_GET_NAME = 16
+PR_GET_NO_NEW_PRIVS = 39
+PR_GET_PDEATHSIG = 2
+PR_GET_SECCOMP = 21
+PR_GET_SECUREBITS = 27
+PR_GET_TID_ADDRESS = 40
+PR_GET_TIMERSLACK = 30
+PR_GET_TIMING = 13
+PR_GET_TSC = 25
+PR_GET_UNALIGN = 5
+PR_MCE_KILL = 33
+PR_MCE_KILL_GET = 34
+PR_SET_CHILD_SUBREAPER = 36
+PR_SET_DUMPABLE = 4
+PR_SET_ENDIAN = 20
+PR_SET_FPEMU = 10
+PR_SET_FPEXC = 12
+PR_SET_KEEPCAPS = 8
+PR_SET_MM = 35
+PR_SET_MM_BRK = 7
+PR_SET_MM_END_CODE = 2
+PR_SET_MM_END_DATA = 4
+PR_SET_MM_START_BRK = 6
+PR_SET_MM_START_CODE = 1
+PR_SET_MM_START_DATA = 3
+PR_SET_MM_START_STACK = 5
+PR_SET_NAME = 15
+PR_SET_NO_NEW_PRIVS = 38
+PR_SET_PDEATHSIG = 1
+PR_SET_PTRACER = 1499557217
+PR_SET_SECCOMP = 22
+PR_SET_SECUREBITS = 28
+PR_SET_TIMERSLACK = 29
+PR_SET_TIMING = 14
+PR_SET_TSC = 26
+PR_SET_UNALIGN = 6
+PR_TASK_PERF_EVENTS_DISABLE = 31
+PR_TASK_PERF_EVENTS_ENABLE = 32
+SECCOMP_MODE_DISABLED = 0
+SECCOMP_MODE_FILTER = 2
+SECCOMP_MODE_STRICT = 1
+# __NR_arch_prctl is not set
+__NR_prctl = 171
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt
index 89ceefc20..bcb7b7f62 100644
--- a/sys/linux/sys.txt
+++ b/sys/linux/sys.txt
@@ -11,7 +11,6 @@ include <linux/resource.h>
include <linux/stat.h>
include <linux/mman.h>
include <linux/time.h>
-include <linux/prctl.h>
include <linux/mount.h>
include <linux/fs.h>
include <linux/eventpoll.h>
@@ -49,7 +48,6 @@ include <linux/kcmp.h>
include <linux/syslog.h>
include <uapi/linux/memfd.h>
include <uapi/linux/module.h>
-include <asm/prctl.h>
include <linux/ioprio.h>
include <linux/membarrier.h>
include <uapi/linux/kcov.h>
@@ -214,19 +212,6 @@ seccomp_metadata {
capget(hdr ptr[in, cap_header], data ptr[in, cap_data])
capset(hdr ptr[in, cap_header], data ptr[in, cap_data])
-
-prctl$void(option flags[prctl_code_void])
-prctl$intptr(option flags[prctl_code_intptr], arg intptr)
-prctl$getreaper(option flags[prctl_code_getreaper], arg ptr[out, intptr])
-prctl$setendian(option const[PR_SET_ENDIAN], arg flags[prctl_endian])
-prctl$setfpexc(option const[PR_SET_FPEXC], arg flags[prctl_fpexc])
-prctl$setname(option const[PR_SET_NAME], name ptr[in, string])
-prctl$getname(option const[PR_GET_NAME], name buffer[out])
-prctl$setptracer(option const[PR_SET_PTRACER], pid pid)
-prctl$seccomp(option const[PR_SET_SECCOMP], mode flags[prctl_seccomp_mode], prog ptr[in, sock_fprog])
-prctl$setmm(option1 const[PR_SET_MM], option2 flags[prctl_mm_option], val vma)
-
-arch_prctl(code flags[arch_prctl_code], addr buffer[in])
seccomp(op flags[seccomp_op], flags flags[seccomp_flags], prog ptr[in, sock_fprog])
resource fd_mq[fd]
@@ -881,14 +866,6 @@ timerfd_settime_flags = TFD_TIMER_ABSTIME
clock_type = CLOCK_REALTIME, CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC, CLOCK_MONOTONIC_COARSE, CLOCK_MONOTONIC_RAW, CLOCK_BOOTTIME, CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID, CLOCK_REALTIME_ALARM, CLOCK_BOOTTIME_ALARM
sigev_notify = SIGEV_NONE, SIGEV_SIGNAL, SIGEV_THREAD, SIGEV_THREAD_ID
cap_version = _LINUX_CAPABILITY_VERSION_1, _LINUX_CAPABILITY_VERSION_2, _LINUX_CAPABILITY_VERSION_3
-prctl_code_void = PR_GET_DUMPABLE, PR_GET_KEEPCAPS, PR_GET_NO_NEW_PRIVS, PR_GET_SECCOMP, PR_GET_SECUREBITS, PR_GET_TIMERSLACK, PR_GET_TIMING, PR_TASK_PERF_EVENTS_DISABLE, PR_TASK_PERF_EVENTS_ENABLE, PR_MCE_KILL_GET
-prctl_code_intptr = PR_CAPBSET_READ, PR_CAPBSET_DROP, PR_SET_CHILD_SUBREAPER, PR_SET_DUMPABLE, PR_SET_FPEMU, PR_SET_KEEPCAPS, PR_SET_NO_NEW_PRIVS, PR_SET_PDEATHSIG, PR_SET_SECUREBITS, PR_SET_TIMERSLACK, PR_SET_TIMING, PR_SET_TSC, PR_SET_UNALIGN, PR_MCE_KILL
-prctl_code_getreaper = PR_GET_CHILD_SUBREAPER, PR_GET_ENDIAN, PR_GET_FPEMU, PR_GET_FPEXC, PR_GET_PDEATHSIG, PR_GET_TID_ADDRESS, PR_GET_TSC, PR_GET_UNALIGN
-prctl_endian = PR_ENDIAN_BIG, PR_ENDIAN_LITTLE, PR_ENDIAN_PPC_LITTLE
-prctl_fpexc = PR_FP_EXC_SW_ENABLE, PR_FP_EXC_DIV, PR_FP_EXC_OVF, PR_FP_EXC_UND, PR_FP_EXC_RES, PR_FP_EXC_INV, PR_FP_EXC_DISABLED, PR_FP_EXC_NONRECOV, PR_FP_EXC_ASYNC, PR_FP_EXC_PRECISE
-prctl_seccomp_mode = SECCOMP_MODE_DISABLED, SECCOMP_MODE_STRICT, SECCOMP_MODE_FILTER
-prctl_mm_option = PR_SET_MM_START_CODE, PR_SET_MM_END_CODE, PR_SET_MM_START_DATA, PR_SET_MM_END_DATA, PR_SET_MM_START_STACK, PR_SET_MM_START_BRK, PR_SET_MM_BRK
-arch_prctl_code = ARCH_GET_FS, ARCH_SET_GS, ARCH_GET_GS
epoll_flags = EPOLL_CLOEXEC
epoll_ev = POLLIN, POLLOUT, POLLRDHUP, POLLPRI, POLLERR, POLLHUP, EPOLLET, EPOLLONESHOT, EPOLLEXCLUSIVE, EPOLLWAKEUP
pollfd_events = POLLIN, POLLPRI, POLLOUT, POLLERR, POLLHUP, POLLNVAL, POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND, POLLMSG, POLLREMOVE, POLLRDHUP, POLLFREE, POLL_BUSY_LOOP
@@ -979,11 +956,11 @@ _ = STA_PLL, STA_PPSFREQ, STA_PPSTIME, STA_FLL, STA_INS, STA_DEL, STA_UNSYNC, ST
# clock_adjtime modes
_ = ADJ_OFFSET, ADJ_FREQUENCY, ADJ_MAXERROR, ADJ_ESTERROR, ADJ_STATUS, ADJ_TIMECONST, ADJ_TAI, ADJ_SETOFFSET, ADJ_MICRO, ADJ_NANO, ADJ_TICK, ADJ_OFFSET_SINGLESHOT
-#qcmd macro flags
+# qcmd macro flags
_ = USRQUOTA, GRPQUOTA, PRJQUOTA, SUBCMDMASK, SUBCMDSHIFT
-#misc
-_ = KCOV_INIT_TRACE, KCOV_ENABLE, KCOV_DISABLE, KCOV_TRACE_PC, KCOV_TRACE_CMP, FIFREEZE, FAN_OPEN_PERM, FAN_ACCESS_PERM, PTRACE_TRACEME, ARCH_SET_FS, __NR_mmap2
+# misc
+_ = KCOV_INIT_TRACE, KCOV_ENABLE, KCOV_DISABLE, KCOV_TRACE_PC, KCOV_TRACE_CMP, FIFREEZE, FAN_OPEN_PERM, FAN_ACCESS_PERM, PTRACE_TRACEME, __NR_mmap2
# used for trace2syz
_ = O_TMPFILE, O_ACCMODE
diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const
index a2a803d20..daa91ad26 100644
--- a/sys/linux/sys_386.const
+++ b/sys/linux/sys_386.const
@@ -16,10 +16,6 @@ ADJ_STATUS = 16
ADJ_TAI = 128
ADJ_TICK = 16384
ADJ_TIMECONST = 32
-ARCH_GET_FS = 4099
-ARCH_GET_GS = 4100
-ARCH_SET_FS = 4098
-ARCH_SET_GS = 4097
AT_EMPTY_PATH = 4096
AT_FDCWD = 18446744073709551516
AT_NO_AUTOMOUNT = 2048
@@ -447,65 +443,6 @@ PROT_NONE = 0
PROT_READ = 1
PROT_SEM = 8
PROT_WRITE = 2
-PR_CAPBSET_DROP = 24
-PR_CAPBSET_READ = 23
-PR_ENDIAN_BIG = 0
-PR_ENDIAN_LITTLE = 1
-PR_ENDIAN_PPC_LITTLE = 2
-PR_FP_EXC_ASYNC = 2
-PR_FP_EXC_DISABLED = 0
-PR_FP_EXC_DIV = 65536
-PR_FP_EXC_INV = 1048576
-PR_FP_EXC_NONRECOV = 1
-PR_FP_EXC_OVF = 131072
-PR_FP_EXC_PRECISE = 3
-PR_FP_EXC_RES = 524288
-PR_FP_EXC_SW_ENABLE = 128
-PR_FP_EXC_UND = 262144
-PR_GET_CHILD_SUBREAPER = 37
-PR_GET_DUMPABLE = 3
-PR_GET_ENDIAN = 19
-PR_GET_FPEMU = 9
-PR_GET_FPEXC = 11
-PR_GET_KEEPCAPS = 7
-PR_GET_NAME = 16
-PR_GET_NO_NEW_PRIVS = 39
-PR_GET_PDEATHSIG = 2
-PR_GET_SECCOMP = 21
-PR_GET_SECUREBITS = 27
-PR_GET_TID_ADDRESS = 40
-PR_GET_TIMERSLACK = 30
-PR_GET_TIMING = 13
-PR_GET_TSC = 25
-PR_GET_UNALIGN = 5
-PR_MCE_KILL = 33
-PR_MCE_KILL_GET = 34
-PR_SET_CHILD_SUBREAPER = 36
-PR_SET_DUMPABLE = 4
-PR_SET_ENDIAN = 20
-PR_SET_FPEMU = 10
-PR_SET_FPEXC = 12
-PR_SET_KEEPCAPS = 8
-PR_SET_MM = 35
-PR_SET_MM_BRK = 7
-PR_SET_MM_END_CODE = 2
-PR_SET_MM_END_DATA = 4
-PR_SET_MM_START_BRK = 6
-PR_SET_MM_START_CODE = 1
-PR_SET_MM_START_DATA = 3
-PR_SET_MM_START_STACK = 5
-PR_SET_NAME = 15
-PR_SET_NO_NEW_PRIVS = 38
-PR_SET_PDEATHSIG = 1
-PR_SET_PTRACER = 1499557217
-PR_SET_SECCOMP = 22
-PR_SET_SECUREBITS = 28
-PR_SET_TIMERSLACK = 29
-PR_SET_TIMING = 14
-PR_SET_TSC = 26
-PR_SET_UNALIGN = 6
-PR_TASK_PERF_EVENTS_DISABLE = 31
-PR_TASK_PERF_EVENTS_ENABLE = 32
PTRACE_ATTACH = 16
PTRACE_CONT = 7
PTRACE_DETACH = 17
@@ -596,9 +533,6 @@ SCHED_IDLE = 5
SCHED_NORMAL = 0
SCHED_RR = 2
SECCOMP_FILTER_FLAG_TSYNC = 1
-SECCOMP_MODE_DISABLED = 0
-SECCOMP_MODE_FILTER = 2
-SECCOMP_MODE_STRICT = 1
SECCOMP_SET_MODE_FILTER = 1
SECCOMP_SET_MODE_STRICT = 0
SEEK_CUR = 1
@@ -756,7 +690,6 @@ _LINUX_CAPABILITY_VERSION_2 = 537333798
_LINUX_CAPABILITY_VERSION_3 = 537396514
__NR_acct = 51
__NR_alarm = 27
-__NR_arch_prctl = 384
__NR_capget = 184
__NR_capset = 185
__NR_chdir = 12
@@ -888,7 +821,6 @@ __NR_pkey_free = 382
__NR_pkey_mprotect = 380
__NR_poll = 168
__NR_ppoll = 309
-__NR_prctl = 172
__NR_pread64 = 180
__NR_preadv = 333
__NR_prlimit64 = 340
diff --git a/sys/linux/sys_amd64.const b/sys/linux/sys_amd64.const
index a63e512b3..99fc6e05d 100644
--- a/sys/linux/sys_amd64.const
+++ b/sys/linux/sys_amd64.const
@@ -16,10 +16,6 @@ ADJ_STATUS = 16
ADJ_TAI = 128
ADJ_TICK = 16384
ADJ_TIMECONST = 32
-ARCH_GET_FS = 4099
-ARCH_GET_GS = 4100
-ARCH_SET_FS = 4098
-ARCH_SET_GS = 4097
AT_EMPTY_PATH = 4096
AT_FDCWD = 18446744073709551516
AT_NO_AUTOMOUNT = 2048
@@ -447,65 +443,6 @@ PROT_NONE = 0
PROT_READ = 1
PROT_SEM = 8
PROT_WRITE = 2
-PR_CAPBSET_DROP = 24
-PR_CAPBSET_READ = 23
-PR_ENDIAN_BIG = 0
-PR_ENDIAN_LITTLE = 1
-PR_ENDIAN_PPC_LITTLE = 2
-PR_FP_EXC_ASYNC = 2
-PR_FP_EXC_DISABLED = 0
-PR_FP_EXC_DIV = 65536
-PR_FP_EXC_INV = 1048576
-PR_FP_EXC_NONRECOV = 1
-PR_FP_EXC_OVF = 131072
-PR_FP_EXC_PRECISE = 3
-PR_FP_EXC_RES = 524288
-PR_FP_EXC_SW_ENABLE = 128
-PR_FP_EXC_UND = 262144
-PR_GET_CHILD_SUBREAPER = 37
-PR_GET_DUMPABLE = 3
-PR_GET_ENDIAN = 19
-PR_GET_FPEMU = 9
-PR_GET_FPEXC = 11
-PR_GET_KEEPCAPS = 7
-PR_GET_NAME = 16
-PR_GET_NO_NEW_PRIVS = 39
-PR_GET_PDEATHSIG = 2
-PR_GET_SECCOMP = 21
-PR_GET_SECUREBITS = 27
-PR_GET_TID_ADDRESS = 40
-PR_GET_TIMERSLACK = 30
-PR_GET_TIMING = 13
-PR_GET_TSC = 25
-PR_GET_UNALIGN = 5
-PR_MCE_KILL = 33
-PR_MCE_KILL_GET = 34
-PR_SET_CHILD_SUBREAPER = 36
-PR_SET_DUMPABLE = 4
-PR_SET_ENDIAN = 20
-PR_SET_FPEMU = 10
-PR_SET_FPEXC = 12
-PR_SET_KEEPCAPS = 8
-PR_SET_MM = 35
-PR_SET_MM_BRK = 7
-PR_SET_MM_END_CODE = 2
-PR_SET_MM_END_DATA = 4
-PR_SET_MM_START_BRK = 6
-PR_SET_MM_START_CODE = 1
-PR_SET_MM_START_DATA = 3
-PR_SET_MM_START_STACK = 5
-PR_SET_NAME = 15
-PR_SET_NO_NEW_PRIVS = 38
-PR_SET_PDEATHSIG = 1
-PR_SET_PTRACER = 1499557217
-PR_SET_SECCOMP = 22
-PR_SET_SECUREBITS = 28
-PR_SET_TIMERSLACK = 29
-PR_SET_TIMING = 14
-PR_SET_TSC = 26
-PR_SET_UNALIGN = 6
-PR_TASK_PERF_EVENTS_DISABLE = 31
-PR_TASK_PERF_EVENTS_ENABLE = 32
PTRACE_ATTACH = 16
PTRACE_CONT = 7
PTRACE_DETACH = 17
@@ -596,9 +533,6 @@ SCHED_IDLE = 5
SCHED_NORMAL = 0
SCHED_RR = 2
SECCOMP_FILTER_FLAG_TSYNC = 1
-SECCOMP_MODE_DISABLED = 0
-SECCOMP_MODE_FILTER = 2
-SECCOMP_MODE_STRICT = 1
SECCOMP_SET_MODE_FILTER = 1
SECCOMP_SET_MODE_STRICT = 0
SEEK_CUR = 1
@@ -756,7 +690,6 @@ _LINUX_CAPABILITY_VERSION_2 = 537333798
_LINUX_CAPABILITY_VERSION_3 = 537396514
__NR_acct = 163
__NR_alarm = 37
-__NR_arch_prctl = 158
__NR_capget = 125
__NR_capset = 126
__NR_chdir = 80
@@ -888,7 +821,6 @@ __NR_pkey_free = 331
__NR_pkey_mprotect = 329
__NR_poll = 7
__NR_ppoll = 271
-__NR_prctl = 157
__NR_pread64 = 17
__NR_preadv = 295
__NR_prlimit64 = 302
diff --git a/sys/linux/sys_arm.const b/sys/linux/sys_arm.const
index 0126649b0..0b876afb8 100644
--- a/sys/linux/sys_arm.const
+++ b/sys/linux/sys_arm.const
@@ -16,10 +16,6 @@ ADJ_STATUS = 16
ADJ_TAI = 128
ADJ_TICK = 16384
ADJ_TIMECONST = 32
-# ARCH_GET_FS is not set
-# ARCH_GET_GS is not set
-# ARCH_SET_FS is not set
-# ARCH_SET_GS is not set
AT_EMPTY_PATH = 4096
AT_FDCWD = 18446744073709551516
AT_NO_AUTOMOUNT = 2048
@@ -447,65 +443,6 @@ PROT_NONE = 0
PROT_READ = 1
PROT_SEM = 8
PROT_WRITE = 2
-PR_CAPBSET_DROP = 24
-PR_CAPBSET_READ = 23
-PR_ENDIAN_BIG = 0
-PR_ENDIAN_LITTLE = 1
-PR_ENDIAN_PPC_LITTLE = 2
-PR_FP_EXC_ASYNC = 2
-PR_FP_EXC_DISABLED = 0
-PR_FP_EXC_DIV = 65536
-PR_FP_EXC_INV = 1048576
-PR_FP_EXC_NONRECOV = 1
-PR_FP_EXC_OVF = 131072
-PR_FP_EXC_PRECISE = 3
-PR_FP_EXC_RES = 524288
-PR_FP_EXC_SW_ENABLE = 128
-PR_FP_EXC_UND = 262144
-PR_GET_CHILD_SUBREAPER = 37
-PR_GET_DUMPABLE = 3
-PR_GET_ENDIAN = 19
-PR_GET_FPEMU = 9
-PR_GET_FPEXC = 11
-PR_GET_KEEPCAPS = 7
-PR_GET_NAME = 16
-PR_GET_NO_NEW_PRIVS = 39
-PR_GET_PDEATHSIG = 2
-PR_GET_SECCOMP = 21
-PR_GET_SECUREBITS = 27
-PR_GET_TID_ADDRESS = 40
-PR_GET_TIMERSLACK = 30
-PR_GET_TIMING = 13
-PR_GET_TSC = 25
-PR_GET_UNALIGN = 5
-PR_MCE_KILL = 33
-PR_MCE_KILL_GET = 34
-PR_SET_CHILD_SUBREAPER = 36
-PR_SET_DUMPABLE = 4
-PR_SET_ENDIAN = 20
-PR_SET_FPEMU = 10
-PR_SET_FPEXC = 12
-PR_SET_KEEPCAPS = 8
-PR_SET_MM = 35
-PR_SET_MM_BRK = 7
-PR_SET_MM_END_CODE = 2
-PR_SET_MM_END_DATA = 4
-PR_SET_MM_START_BRK = 6
-PR_SET_MM_START_CODE = 1
-PR_SET_MM_START_DATA = 3
-PR_SET_MM_START_STACK = 5
-PR_SET_NAME = 15
-PR_SET_NO_NEW_PRIVS = 38
-PR_SET_PDEATHSIG = 1
-PR_SET_PTRACER = 1499557217
-PR_SET_SECCOMP = 22
-PR_SET_SECUREBITS = 28
-PR_SET_TIMERSLACK = 29
-PR_SET_TIMING = 14
-PR_SET_TSC = 26
-PR_SET_UNALIGN = 6
-PR_TASK_PERF_EVENTS_DISABLE = 31
-PR_TASK_PERF_EVENTS_ENABLE = 32
PTRACE_ATTACH = 16
PTRACE_CONT = 7
PTRACE_DETACH = 17
@@ -596,9 +533,6 @@ SCHED_IDLE = 5
SCHED_NORMAL = 0
SCHED_RR = 2
SECCOMP_FILTER_FLAG_TSYNC = 1
-SECCOMP_MODE_DISABLED = 0
-SECCOMP_MODE_FILTER = 2
-SECCOMP_MODE_STRICT = 1
SECCOMP_SET_MODE_FILTER = 1
SECCOMP_SET_MODE_STRICT = 0
SEEK_CUR = 1
@@ -756,7 +690,6 @@ _LINUX_CAPABILITY_VERSION_2 = 537333798
_LINUX_CAPABILITY_VERSION_3 = 537396514
__NR_acct = 51
# __NR_alarm is not set
-# __NR_arch_prctl is not set
__NR_capget = 184
__NR_capset = 185
__NR_chdir = 12
@@ -888,7 +821,6 @@ __NR_pkey_free = 396
__NR_pkey_mprotect = 394
__NR_poll = 168
__NR_ppoll = 336
-__NR_prctl = 172
__NR_pread64 = 180
__NR_preadv = 361
__NR_prlimit64 = 369
diff --git a/sys/linux/sys_arm64.const b/sys/linux/sys_arm64.const
index 4ceec86a4..73ddf66b0 100644
--- a/sys/linux/sys_arm64.const
+++ b/sys/linux/sys_arm64.const
@@ -16,10 +16,6 @@ ADJ_STATUS = 16
ADJ_TAI = 128
ADJ_TICK = 16384
ADJ_TIMECONST = 32
-# ARCH_GET_FS is not set
-# ARCH_GET_GS is not set
-# ARCH_SET_FS is not set
-# ARCH_SET_GS is not set
AT_EMPTY_PATH = 4096
AT_FDCWD = 18446744073709551516
AT_NO_AUTOMOUNT = 2048
@@ -447,65 +443,6 @@ PROT_NONE = 0
PROT_READ = 1
PROT_SEM = 8
PROT_WRITE = 2
-PR_CAPBSET_DROP = 24
-PR_CAPBSET_READ = 23
-PR_ENDIAN_BIG = 0
-PR_ENDIAN_LITTLE = 1
-PR_ENDIAN_PPC_LITTLE = 2
-PR_FP_EXC_ASYNC = 2
-PR_FP_EXC_DISABLED = 0
-PR_FP_EXC_DIV = 65536
-PR_FP_EXC_INV = 1048576
-PR_FP_EXC_NONRECOV = 1
-PR_FP_EXC_OVF = 131072
-PR_FP_EXC_PRECISE = 3
-PR_FP_EXC_RES = 524288
-PR_FP_EXC_SW_ENABLE = 128
-PR_FP_EXC_UND = 262144
-PR_GET_CHILD_SUBREAPER = 37
-PR_GET_DUMPABLE = 3
-PR_GET_ENDIAN = 19
-PR_GET_FPEMU = 9
-PR_GET_FPEXC = 11
-PR_GET_KEEPCAPS = 7
-PR_GET_NAME = 16
-PR_GET_NO_NEW_PRIVS = 39
-PR_GET_PDEATHSIG = 2
-PR_GET_SECCOMP = 21
-PR_GET_SECUREBITS = 27
-PR_GET_TID_ADDRESS = 40
-PR_GET_TIMERSLACK = 30
-PR_GET_TIMING = 13
-PR_GET_TSC = 25
-PR_GET_UNALIGN = 5
-PR_MCE_KILL = 33
-PR_MCE_KILL_GET = 34
-PR_SET_CHILD_SUBREAPER = 36
-PR_SET_DUMPABLE = 4
-PR_SET_ENDIAN = 20
-PR_SET_FPEMU = 10
-PR_SET_FPEXC = 12
-PR_SET_KEEPCAPS = 8
-PR_SET_MM = 35
-PR_SET_MM_BRK = 7
-PR_SET_MM_END_CODE = 2
-PR_SET_MM_END_DATA = 4
-PR_SET_MM_START_BRK = 6
-PR_SET_MM_START_CODE = 1
-PR_SET_MM_START_DATA = 3
-PR_SET_MM_START_STACK = 5
-PR_SET_NAME = 15
-PR_SET_NO_NEW_PRIVS = 38
-PR_SET_PDEATHSIG = 1
-PR_SET_PTRACER = 1499557217
-PR_SET_SECCOMP = 22
-PR_SET_SECUREBITS = 28
-PR_SET_TIMERSLACK = 29
-PR_SET_TIMING = 14
-PR_SET_TSC = 26
-PR_SET_UNALIGN = 6
-PR_TASK_PERF_EVENTS_DISABLE = 31
-PR_TASK_PERF_EVENTS_ENABLE = 32
PTRACE_ATTACH = 16
PTRACE_CONT = 7
PTRACE_DETACH = 17
@@ -596,9 +533,6 @@ SCHED_IDLE = 5
SCHED_NORMAL = 0
SCHED_RR = 2
SECCOMP_FILTER_FLAG_TSYNC = 1
-SECCOMP_MODE_DISABLED = 0
-SECCOMP_MODE_FILTER = 2
-SECCOMP_MODE_STRICT = 1
SECCOMP_SET_MODE_FILTER = 1
SECCOMP_SET_MODE_STRICT = 0
SEEK_CUR = 1
@@ -756,7 +690,6 @@ _LINUX_CAPABILITY_VERSION_2 = 537333798
_LINUX_CAPABILITY_VERSION_3 = 537396514
__NR_acct = 89
# __NR_alarm is not set
-# __NR_arch_prctl is not set
__NR_capget = 90
__NR_capset = 91
__NR_chdir = 49
@@ -888,7 +821,6 @@ __NR_pkey_free = 290
__NR_pkey_mprotect = 288
# __NR_poll is not set
__NR_ppoll = 73
-__NR_prctl = 167
__NR_pread64 = 67
__NR_preadv = 69
__NR_prlimit64 = 261
diff --git a/sys/linux/sys_ppc64le.const b/sys/linux/sys_ppc64le.const
index 2be1e991b..75c0633bb 100644
--- a/sys/linux/sys_ppc64le.const
+++ b/sys/linux/sys_ppc64le.const
@@ -16,10 +16,6 @@ ADJ_STATUS = 16
ADJ_TAI = 128
ADJ_TICK = 16384
ADJ_TIMECONST = 32
-# ARCH_GET_FS is not set
-# ARCH_GET_GS is not set
-# ARCH_SET_FS is not set
-# ARCH_SET_GS is not set
AT_EMPTY_PATH = 4096
AT_FDCWD = 18446744073709551516
AT_NO_AUTOMOUNT = 2048
@@ -447,65 +443,6 @@ PROT_NONE = 0
PROT_READ = 1
PROT_SEM = 8
PROT_WRITE = 2
-PR_CAPBSET_DROP = 24
-PR_CAPBSET_READ = 23
-PR_ENDIAN_BIG = 0
-PR_ENDIAN_LITTLE = 1
-PR_ENDIAN_PPC_LITTLE = 2
-PR_FP_EXC_ASYNC = 2
-PR_FP_EXC_DISABLED = 0
-PR_FP_EXC_DIV = 65536
-PR_FP_EXC_INV = 1048576
-PR_FP_EXC_NONRECOV = 1
-PR_FP_EXC_OVF = 131072
-PR_FP_EXC_PRECISE = 3
-PR_FP_EXC_RES = 524288
-PR_FP_EXC_SW_ENABLE = 128
-PR_FP_EXC_UND = 262144
-PR_GET_CHILD_SUBREAPER = 37
-PR_GET_DUMPABLE = 3
-PR_GET_ENDIAN = 19
-PR_GET_FPEMU = 9
-PR_GET_FPEXC = 11
-PR_GET_KEEPCAPS = 7
-PR_GET_NAME = 16
-PR_GET_NO_NEW_PRIVS = 39
-PR_GET_PDEATHSIG = 2
-PR_GET_SECCOMP = 21
-PR_GET_SECUREBITS = 27
-PR_GET_TID_ADDRESS = 40
-PR_GET_TIMERSLACK = 30
-PR_GET_TIMING = 13
-PR_GET_TSC = 25
-PR_GET_UNALIGN = 5
-PR_MCE_KILL = 33
-PR_MCE_KILL_GET = 34
-PR_SET_CHILD_SUBREAPER = 36
-PR_SET_DUMPABLE = 4
-PR_SET_ENDIAN = 20
-PR_SET_FPEMU = 10
-PR_SET_FPEXC = 12
-PR_SET_KEEPCAPS = 8
-PR_SET_MM = 35
-PR_SET_MM_BRK = 7
-PR_SET_MM_END_CODE = 2
-PR_SET_MM_END_DATA = 4
-PR_SET_MM_START_BRK = 6
-PR_SET_MM_START_CODE = 1
-PR_SET_MM_START_DATA = 3
-PR_SET_MM_START_STACK = 5
-PR_SET_NAME = 15
-PR_SET_NO_NEW_PRIVS = 38
-PR_SET_PDEATHSIG = 1
-PR_SET_PTRACER = 1499557217
-PR_SET_SECCOMP = 22
-PR_SET_SECUREBITS = 28
-PR_SET_TIMERSLACK = 29
-PR_SET_TIMING = 14
-PR_SET_TSC = 26
-PR_SET_UNALIGN = 6
-PR_TASK_PERF_EVENTS_DISABLE = 31
-PR_TASK_PERF_EVENTS_ENABLE = 32
PTRACE_ATTACH = 16
PTRACE_CONT = 7
PTRACE_DETACH = 17
@@ -596,9 +533,6 @@ SCHED_IDLE = 5
SCHED_NORMAL = 0
SCHED_RR = 2
SECCOMP_FILTER_FLAG_TSYNC = 1
-SECCOMP_MODE_DISABLED = 0
-SECCOMP_MODE_FILTER = 2
-SECCOMP_MODE_STRICT = 1
SECCOMP_SET_MODE_FILTER = 1
SECCOMP_SET_MODE_STRICT = 0
SEEK_CUR = 1
@@ -756,7 +690,6 @@ _LINUX_CAPABILITY_VERSION_2 = 537333798
_LINUX_CAPABILITY_VERSION_3 = 537396514
__NR_acct = 51
__NR_alarm = 27
-# __NR_arch_prctl is not set
__NR_capget = 183
__NR_capset = 184
__NR_chdir = 12
@@ -888,7 +821,6 @@ __NR_pkey_free = 385
__NR_pkey_mprotect = 386
__NR_poll = 167
__NR_ppoll = 281
-__NR_prctl = 171
__NR_pread64 = 179
__NR_preadv = 320
__NR_prlimit64 = 325