aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-07-01 10:55:42 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-07-01 10:57:23 +0200
commit090d8f7bdf91c39e240145e5acd6c5dd5f965bcf (patch)
tree1c60f7e9ec3549de48ccd06abea39849e5ae02fa /sys/linux
parent33576216a5c1883809bab657974f5c299e80b337 (diff)
sys/linux: add riscv_flush_icache syscall
+extract constants on next-20200701
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/bpf_386.const2
-rw-r--r--sys/linux/bpf_amd64.const2
-rw-r--r--sys/linux/bpf_arm.const2
-rw-r--r--sys/linux/bpf_arm64.const2
-rw-r--r--sys/linux/bpf_mips64le.const2
-rw-r--r--sys/linux/bpf_ppc64le.const2
-rw-r--r--sys/linux/bpf_riscv64.const2
-rw-r--r--sys/linux/bpf_s390x.const2
-rw-r--r--sys/linux/dev_uinput_386.const2
-rw-r--r--sys/linux/dev_uinput_amd64.const2
-rw-r--r--sys/linux/dev_uinput_arm.const2
-rw-r--r--sys/linux/dev_uinput_arm64.const2
-rw-r--r--sys/linux/dev_uinput_mips64le.const2
-rw-r--r--sys/linux/dev_uinput_ppc64le.const2
-rw-r--r--sys/linux/dev_uinput_riscv64.const2
-rw-r--r--sys/linux/dev_uinput_s390x.const2
-rw-r--r--sys/linux/seccomp_386.const2
-rw-r--r--sys/linux/seccomp_amd64.const2
-rw-r--r--sys/linux/seccomp_arm.const2
-rw-r--r--sys/linux/seccomp_arm64.const2
-rw-r--r--sys/linux/seccomp_mips64le.const2
-rw-r--r--sys/linux/seccomp_ppc64le.const2
-rw-r--r--sys/linux/seccomp_riscv64.const2
-rw-r--r--sys/linux/seccomp_s390x.const2
-rw-r--r--sys/linux/sys.txt3
-rw-r--r--sys/linux/sys_386.const1
-rw-r--r--sys/linux/sys_amd64.const1
-rw-r--r--sys/linux/sys_arm.const1
-rw-r--r--sys/linux/sys_arm64.const1
-rw-r--r--sys/linux/sys_mips64le.const1
-rw-r--r--sys/linux/sys_ppc64le.const1
-rw-r--r--sys/linux/sys_riscv64.const1
-rw-r--r--sys/linux/sys_s390x.const30
33 files changed, 64 insertions, 24 deletions
diff --git a/sys/linux/bpf_386.const b/sys/linux/bpf_386.const
index 0ccc141d6..7f46383a6 100644
--- a/sys/linux/bpf_386.const
+++ b/sys/linux/bpf_386.const
@@ -229,7 +229,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 136
+__BPF_FUNC_MAX_ID = 141
__MAX_BPF_REG = 11
__NR_bpf = 357
bpf_call_code = 133
diff --git a/sys/linux/bpf_amd64.const b/sys/linux/bpf_amd64.const
index 42976bfce..045577754 100644
--- a/sys/linux/bpf_amd64.const
+++ b/sys/linux/bpf_amd64.const
@@ -229,7 +229,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 136
+__BPF_FUNC_MAX_ID = 141
__MAX_BPF_REG = 11
__NR_bpf = 321
bpf_call_code = 133
diff --git a/sys/linux/bpf_arm.const b/sys/linux/bpf_arm.const
index d57bb5fe9..c17365a72 100644
--- a/sys/linux/bpf_arm.const
+++ b/sys/linux/bpf_arm.const
@@ -229,7 +229,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 136
+__BPF_FUNC_MAX_ID = 141
__MAX_BPF_REG = 11
__NR_bpf = 386
bpf_call_code = 133
diff --git a/sys/linux/bpf_arm64.const b/sys/linux/bpf_arm64.const
index 29aba4f29..1cd650872 100644
--- a/sys/linux/bpf_arm64.const
+++ b/sys/linux/bpf_arm64.const
@@ -229,7 +229,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 136
+__BPF_FUNC_MAX_ID = 141
__MAX_BPF_REG = 11
__NR_bpf = 280
bpf_call_code = 133
diff --git a/sys/linux/bpf_mips64le.const b/sys/linux/bpf_mips64le.const
index 3b2629fa2..33d14c75b 100644
--- a/sys/linux/bpf_mips64le.const
+++ b/sys/linux/bpf_mips64le.const
@@ -229,7 +229,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 136
+__BPF_FUNC_MAX_ID = 141
__MAX_BPF_REG = 11
__NR_bpf = 5315
bpf_call_code = 133
diff --git a/sys/linux/bpf_ppc64le.const b/sys/linux/bpf_ppc64le.const
index 2827d7f0c..066fa5090 100644
--- a/sys/linux/bpf_ppc64le.const
+++ b/sys/linux/bpf_ppc64le.const
@@ -229,7 +229,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 136
+__BPF_FUNC_MAX_ID = 141
__MAX_BPF_REG = 11
__NR_bpf = 361
bpf_call_code = 133
diff --git a/sys/linux/bpf_riscv64.const b/sys/linux/bpf_riscv64.const
index 29aba4f29..1cd650872 100644
--- a/sys/linux/bpf_riscv64.const
+++ b/sys/linux/bpf_riscv64.const
@@ -229,7 +229,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 136
+__BPF_FUNC_MAX_ID = 141
__MAX_BPF_REG = 11
__NR_bpf = 280
bpf_call_code = 133
diff --git a/sys/linux/bpf_s390x.const b/sys/linux/bpf_s390x.const
index 596e57c33..e2977cb3d 100644
--- a/sys/linux/bpf_s390x.const
+++ b/sys/linux/bpf_s390x.const
@@ -229,7 +229,7 @@ BTF_KIND_VOLATILE = 9
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 136
+__BPF_FUNC_MAX_ID = 141
__MAX_BPF_REG = 11
__NR_bpf = 351
bpf_call_code = 133
diff --git a/sys/linux/dev_uinput_386.const b/sys/linux/dev_uinput_386.const
index 2bd422b42..7d95313a2 100644
--- a/sys/linux/dev_uinput_386.const
+++ b/sys/linux/dev_uinput_386.const
@@ -13,7 +13,7 @@ O_RDWR = 2
# O_RDWR_NONBLOCK is not set
REL_MAX = 15
SND_MAX = 7
-SW_MAX = 15
+SW_MAX = 16
UINPUT_MAX_NAME_SIZE = 80
UI_ABS_SETUP = 1075598596
UI_BEGIN_FF_ERASE = 3222033866
diff --git a/sys/linux/dev_uinput_amd64.const b/sys/linux/dev_uinput_amd64.const
index f1a7936fa..6fe1336b0 100644
--- a/sys/linux/dev_uinput_amd64.const
+++ b/sys/linux/dev_uinput_amd64.const
@@ -13,7 +13,7 @@ O_RDWR = 2
# O_RDWR_NONBLOCK is not set
REL_MAX = 15
SND_MAX = 7
-SW_MAX = 15
+SW_MAX = 16
UINPUT_MAX_NAME_SIZE = 80
UI_ABS_SETUP = 1075598596
UI_BEGIN_FF_ERASE = 3222033866
diff --git a/sys/linux/dev_uinput_arm.const b/sys/linux/dev_uinput_arm.const
index 9015b6297..9d4b10c41 100644
--- a/sys/linux/dev_uinput_arm.const
+++ b/sys/linux/dev_uinput_arm.const
@@ -13,7 +13,7 @@ O_RDWR = 2
# O_RDWR_NONBLOCK is not set
REL_MAX = 15
SND_MAX = 7
-SW_MAX = 15
+SW_MAX = 16
UINPUT_MAX_NAME_SIZE = 80
UI_ABS_SETUP = 1075598596
UI_BEGIN_FF_ERASE = 3222033866
diff --git a/sys/linux/dev_uinput_arm64.const b/sys/linux/dev_uinput_arm64.const
index 91adb6f86..b322a2109 100644
--- a/sys/linux/dev_uinput_arm64.const
+++ b/sys/linux/dev_uinput_arm64.const
@@ -13,7 +13,7 @@ O_RDWR = 2
# O_RDWR_NONBLOCK is not set
REL_MAX = 15
SND_MAX = 7
-SW_MAX = 15
+SW_MAX = 16
UINPUT_MAX_NAME_SIZE = 80
UI_ABS_SETUP = 1075598596
UI_BEGIN_FF_ERASE = 3222033866
diff --git a/sys/linux/dev_uinput_mips64le.const b/sys/linux/dev_uinput_mips64le.const
index da08e84e7..ac35b6215 100644
--- a/sys/linux/dev_uinput_mips64le.const
+++ b/sys/linux/dev_uinput_mips64le.const
@@ -13,7 +13,7 @@ O_RDWR = 2
# O_RDWR_NONBLOCK is not set
REL_MAX = 15
SND_MAX = 7
-SW_MAX = 15
+SW_MAX = 16
UINPUT_MAX_NAME_SIZE = 80
UI_ABS_SETUP = 2149340420
UI_BEGIN_FF_ERASE = 3222033866
diff --git a/sys/linux/dev_uinput_ppc64le.const b/sys/linux/dev_uinput_ppc64le.const
index 815f4a6ad..1653f9df5 100644
--- a/sys/linux/dev_uinput_ppc64le.const
+++ b/sys/linux/dev_uinput_ppc64le.const
@@ -13,7 +13,7 @@ O_RDWR = 2
# O_RDWR_NONBLOCK is not set
REL_MAX = 15
SND_MAX = 7
-SW_MAX = 15
+SW_MAX = 16
UINPUT_MAX_NAME_SIZE = 80
UI_ABS_SETUP = 2149340420
UI_BEGIN_FF_ERASE = 3222033866
diff --git a/sys/linux/dev_uinput_riscv64.const b/sys/linux/dev_uinput_riscv64.const
index 91adb6f86..b322a2109 100644
--- a/sys/linux/dev_uinput_riscv64.const
+++ b/sys/linux/dev_uinput_riscv64.const
@@ -13,7 +13,7 @@ O_RDWR = 2
# O_RDWR_NONBLOCK is not set
REL_MAX = 15
SND_MAX = 7
-SW_MAX = 15
+SW_MAX = 16
UINPUT_MAX_NAME_SIZE = 80
UI_ABS_SETUP = 1075598596
UI_BEGIN_FF_ERASE = 3222033866
diff --git a/sys/linux/dev_uinput_s390x.const b/sys/linux/dev_uinput_s390x.const
index a55183efb..48429bc2b 100644
--- a/sys/linux/dev_uinput_s390x.const
+++ b/sys/linux/dev_uinput_s390x.const
@@ -13,7 +13,7 @@ O_RDWR = 2
# O_RDWR_NONBLOCK is not set
REL_MAX = 15
SND_MAX = 7
-SW_MAX = 15
+SW_MAX = 16
UINPUT_MAX_NAME_SIZE = 80
UI_ABS_SETUP = 1075598596
UI_BEGIN_FF_ERASE = 3222033866
diff --git a/sys/linux/seccomp_386.const b/sys/linux/seccomp_386.const
index 45c8ff30e..5234f12ad 100644
--- a/sys/linux/seccomp_386.const
+++ b/sys/linux/seccomp_386.const
@@ -7,7 +7,7 @@ SECCOMP_FILTER_FLAG_SPEC_ALLOW_LISTENER = 12
SECCOMP_FILTER_FLAG_TSYNC = 1
SECCOMP_GET_ACTION_AVAIL = 2
SECCOMP_GET_NOTIF_SIZES = 3
-SECCOMP_IOCTL_NOTIF_ID_VALID = 2148016386
+SECCOMP_IOCTL_NOTIF_ID_VALID = 1074274562
SECCOMP_IOCTL_NOTIF_RECV = 3226476800
SECCOMP_IOCTL_NOTIF_SEND = 3222806785
SECCOMP_SET_MODE_FILTER = 1
diff --git a/sys/linux/seccomp_amd64.const b/sys/linux/seccomp_amd64.const
index dd9017c03..e13d9b909 100644
--- a/sys/linux/seccomp_amd64.const
+++ b/sys/linux/seccomp_amd64.const
@@ -7,7 +7,7 @@ SECCOMP_FILTER_FLAG_SPEC_ALLOW_LISTENER = 12
SECCOMP_FILTER_FLAG_TSYNC = 1
SECCOMP_GET_ACTION_AVAIL = 2
SECCOMP_GET_NOTIF_SIZES = 3
-SECCOMP_IOCTL_NOTIF_ID_VALID = 2148016386
+SECCOMP_IOCTL_NOTIF_ID_VALID = 1074274562
SECCOMP_IOCTL_NOTIF_RECV = 3226476800
SECCOMP_IOCTL_NOTIF_SEND = 3222806785
SECCOMP_SET_MODE_FILTER = 1
diff --git a/sys/linux/seccomp_arm.const b/sys/linux/seccomp_arm.const
index 1daaeeeda..6a0349011 100644
--- a/sys/linux/seccomp_arm.const
+++ b/sys/linux/seccomp_arm.const
@@ -7,7 +7,7 @@ SECCOMP_FILTER_FLAG_SPEC_ALLOW_LISTENER = 12
SECCOMP_FILTER_FLAG_TSYNC = 1
SECCOMP_GET_ACTION_AVAIL = 2
SECCOMP_GET_NOTIF_SIZES = 3
-SECCOMP_IOCTL_NOTIF_ID_VALID = 2148016386
+SECCOMP_IOCTL_NOTIF_ID_VALID = 1074274562
SECCOMP_IOCTL_NOTIF_RECV = 3226476800
SECCOMP_IOCTL_NOTIF_SEND = 3222806785
SECCOMP_SET_MODE_FILTER = 1
diff --git a/sys/linux/seccomp_arm64.const b/sys/linux/seccomp_arm64.const
index 41d117a26..ca30b6f4c 100644
--- a/sys/linux/seccomp_arm64.const
+++ b/sys/linux/seccomp_arm64.const
@@ -7,7 +7,7 @@ SECCOMP_FILTER_FLAG_SPEC_ALLOW_LISTENER = 12
SECCOMP_FILTER_FLAG_TSYNC = 1
SECCOMP_GET_ACTION_AVAIL = 2
SECCOMP_GET_NOTIF_SIZES = 3
-SECCOMP_IOCTL_NOTIF_ID_VALID = 2148016386
+SECCOMP_IOCTL_NOTIF_ID_VALID = 1074274562
SECCOMP_IOCTL_NOTIF_RECV = 3226476800
SECCOMP_IOCTL_NOTIF_SEND = 3222806785
SECCOMP_SET_MODE_FILTER = 1
diff --git a/sys/linux/seccomp_mips64le.const b/sys/linux/seccomp_mips64le.const
index 4e25b6834..633ff0f88 100644
--- a/sys/linux/seccomp_mips64le.const
+++ b/sys/linux/seccomp_mips64le.const
@@ -7,7 +7,7 @@ SECCOMP_FILTER_FLAG_SPEC_ALLOW_LISTENER = 12
SECCOMP_FILTER_FLAG_TSYNC = 1
SECCOMP_GET_ACTION_AVAIL = 2
SECCOMP_GET_NOTIF_SIZES = 3
-SECCOMP_IOCTL_NOTIF_ID_VALID = 1074274562
+SECCOMP_IOCTL_NOTIF_ID_VALID = 2148016386
SECCOMP_IOCTL_NOTIF_RECV = 3226476800
SECCOMP_IOCTL_NOTIF_SEND = 3222806785
SECCOMP_SET_MODE_FILTER = 1
diff --git a/sys/linux/seccomp_ppc64le.const b/sys/linux/seccomp_ppc64le.const
index 46f2a8ac1..4a7a6ba44 100644
--- a/sys/linux/seccomp_ppc64le.const
+++ b/sys/linux/seccomp_ppc64le.const
@@ -7,7 +7,7 @@ SECCOMP_FILTER_FLAG_SPEC_ALLOW_LISTENER = 12
SECCOMP_FILTER_FLAG_TSYNC = 1
SECCOMP_GET_ACTION_AVAIL = 2
SECCOMP_GET_NOTIF_SIZES = 3
-SECCOMP_IOCTL_NOTIF_ID_VALID = 1074274562
+SECCOMP_IOCTL_NOTIF_ID_VALID = 2148016386
SECCOMP_IOCTL_NOTIF_RECV = 3226476800
SECCOMP_IOCTL_NOTIF_SEND = 3222806785
SECCOMP_SET_MODE_FILTER = 1
diff --git a/sys/linux/seccomp_riscv64.const b/sys/linux/seccomp_riscv64.const
index 41d117a26..ca30b6f4c 100644
--- a/sys/linux/seccomp_riscv64.const
+++ b/sys/linux/seccomp_riscv64.const
@@ -7,7 +7,7 @@ SECCOMP_FILTER_FLAG_SPEC_ALLOW_LISTENER = 12
SECCOMP_FILTER_FLAG_TSYNC = 1
SECCOMP_GET_ACTION_AVAIL = 2
SECCOMP_GET_NOTIF_SIZES = 3
-SECCOMP_IOCTL_NOTIF_ID_VALID = 2148016386
+SECCOMP_IOCTL_NOTIF_ID_VALID = 1074274562
SECCOMP_IOCTL_NOTIF_RECV = 3226476800
SECCOMP_IOCTL_NOTIF_SEND = 3222806785
SECCOMP_SET_MODE_FILTER = 1
diff --git a/sys/linux/seccomp_s390x.const b/sys/linux/seccomp_s390x.const
index 61eed7a97..25137baf4 100644
--- a/sys/linux/seccomp_s390x.const
+++ b/sys/linux/seccomp_s390x.const
@@ -7,7 +7,7 @@ SECCOMP_FILTER_FLAG_SPEC_ALLOW_LISTENER = 12
SECCOMP_FILTER_FLAG_TSYNC = 1
SECCOMP_GET_ACTION_AVAIL = 2
SECCOMP_GET_NOTIF_SIZES = 3
-SECCOMP_IOCTL_NOTIF_ID_VALID = 2148016386
+SECCOMP_IOCTL_NOTIF_ID_VALID = 1074274562
SECCOMP_IOCTL_NOTIF_RECV = 3226476800
SECCOMP_IOCTL_NOTIF_SEND = 3222806785
SECCOMP_SET_MODE_FILTER = 1
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt
index fd84563fd..ea516a466 100644
--- a/sys/linux/sys.txt
+++ b/sys/linux/sys.txt
@@ -472,6 +472,9 @@ rseq_cs {
rseq_cs_flags = RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT, RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL, RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE
+# start/end are unused for now, no definition of SYS_RISCV_FLUSH_ICACHE_LOCAL in uapi headers.
+riscv_flush_icache(start const[0], end const[0], flags bool32)
+
syz_open_procfs(pid pid, file ptr[in, string[procfs_proc_file]]) fd
# TODO: some of net files are only available in the init namespace (e.g. bluetooth bnep and hci).
diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const
index 30dcf0a37..dd07469e9 100644
--- a/sys/linux/sys_386.const
+++ b/sys/linux/sys_386.const
@@ -731,6 +731,7 @@ __NR_rename = 38
__NR_renameat = 302
__NR_renameat2 = 353
__NR_restart_syscall = 0
+# __NR_riscv_flush_icache is not set
__NR_rmdir = 40
__NR_rseq = 386
__NR_rt_sigaction = 174
diff --git a/sys/linux/sys_amd64.const b/sys/linux/sys_amd64.const
index 08d8bea6b..0f3771d1c 100644
--- a/sys/linux/sys_amd64.const
+++ b/sys/linux/sys_amd64.const
@@ -731,6 +731,7 @@ __NR_rename = 82
__NR_renameat = 264
__NR_renameat2 = 316
__NR_restart_syscall = 219
+# __NR_riscv_flush_icache is not set
__NR_rmdir = 84
__NR_rseq = 334
__NR_rt_sigaction = 13
diff --git a/sys/linux/sys_arm.const b/sys/linux/sys_arm.const
index 510ac63e9..e2aa283db 100644
--- a/sys/linux/sys_arm.const
+++ b/sys/linux/sys_arm.const
@@ -731,6 +731,7 @@ __NR_rename = 38
__NR_renameat = 329
__NR_renameat2 = 382
__NR_restart_syscall = 0
+# __NR_riscv_flush_icache is not set
__NR_rmdir = 40
__NR_rseq = 398
__NR_rt_sigaction = 174
diff --git a/sys/linux/sys_arm64.const b/sys/linux/sys_arm64.const
index 2bfa1bab0..c3873a29b 100644
--- a/sys/linux/sys_arm64.const
+++ b/sys/linux/sys_arm64.const
@@ -731,6 +731,7 @@ __NR_remap_file_pages = 234
__NR_renameat = 38
__NR_renameat2 = 276
__NR_restart_syscall = 128
+# __NR_riscv_flush_icache is not set
# __NR_rmdir is not set
__NR_rseq = 293
__NR_rt_sigaction = 134
diff --git a/sys/linux/sys_mips64le.const b/sys/linux/sys_mips64le.const
index ab105c255..19874c30d 100644
--- a/sys/linux/sys_mips64le.const
+++ b/sys/linux/sys_mips64le.const
@@ -731,6 +731,7 @@ __NR_rename = 5080
__NR_renameat = 5254
__NR_renameat2 = 5311
__NR_restart_syscall = 5213
+# __NR_riscv_flush_icache is not set
__NR_rmdir = 5082
__NR_rseq = 5327
__NR_rt_sigaction = 5013
diff --git a/sys/linux/sys_ppc64le.const b/sys/linux/sys_ppc64le.const
index e8a65986d..5d3cb9df2 100644
--- a/sys/linux/sys_ppc64le.const
+++ b/sys/linux/sys_ppc64le.const
@@ -731,6 +731,7 @@ __NR_rename = 38
__NR_renameat = 293
__NR_renameat2 = 357
__NR_restart_syscall = 0
+# __NR_riscv_flush_icache is not set
__NR_rmdir = 40
__NR_rseq = 387
__NR_rt_sigaction = 173
diff --git a/sys/linux/sys_riscv64.const b/sys/linux/sys_riscv64.const
index 241ac2021..cb4cf0d11 100644
--- a/sys/linux/sys_riscv64.const
+++ b/sys/linux/sys_riscv64.const
@@ -731,6 +731,7 @@ __NR_remap_file_pages = 234
# __NR_renameat is not set
__NR_renameat2 = 276
__NR_restart_syscall = 128
+__NR_riscv_flush_icache = 259
# __NR_rmdir is not set
__NR_rseq = 293
__NR_rt_sigaction = 134
diff --git a/sys/linux/sys_s390x.const b/sys/linux/sys_s390x.const
index a8f12362e..bcb1dbd81 100644
--- a/sys/linux/sys_s390x.const
+++ b/sys/linux/sys_s390x.const
@@ -109,6 +109,34 @@ FIONBIO = 21537
FIONCLEX = 21584
FIOQSIZE = 21598
FITHAW = 3221510264
+FSINFO_ATTR_AFS_CELL_NAME = 768
+FSINFO_ATTR_AFS_SERVER_ADDRESSES = 770
+FSINFO_ATTR_AFS_SERVER_NAME = 769
+FSINFO_ATTR_CONFIGURATION = 10
+FSINFO_ATTR_FEATURES = 8
+FSINFO_ATTR_FSINFO_ATTRIBUTES = 257
+FSINFO_ATTR_FSINFO_ATTRIBUTE_INFO = 256
+FSINFO_ATTR_FS_STATISTICS = 11
+FSINFO_ATTR_IDS = 1
+FSINFO_ATTR_LIMITS = 2
+FSINFO_ATTR_MOUNT_ALL = 518
+FSINFO_ATTR_MOUNT_CHILDREN = 517
+FSINFO_ATTR_MOUNT_INFO = 512
+FSINFO_ATTR_MOUNT_PATH = 513
+FSINFO_ATTR_MOUNT_POINT = 514
+FSINFO_ATTR_MOUNT_POINT_FULL = 515
+FSINFO_ATTR_MOUNT_TOPOLOGY = 516
+FSINFO_ATTR_SOURCE = 9
+FSINFO_ATTR_STATFS = 0
+FSINFO_ATTR_SUPPORTS = 3
+FSINFO_ATTR_TIMESTAMP_INFO = 4
+FSINFO_ATTR_VOLUME_ID = 5
+FSINFO_ATTR_VOLUME_NAME = 7
+FSINFO_ATTR_VOLUME_UUID = 6
+FSINFO_FLAGS_QUERY_FD = 1
+FSINFO_FLAGS_QUERY_MASK = 7
+FSINFO_FLAGS_QUERY_MOUNT = 2
+FSINFO_FLAGS_QUERY_PATH = 0
F_ADD_SEALS = 1033
F_DUPFD = 0
F_DUPFD_CLOEXEC = 1030
@@ -590,6 +618,7 @@ __NR_fcntl = 55
__NR_fdatasync = 148
__NR_finit_module = 344
__NR_flock = 143
+__NR_fsinfo = 442
__NR_fstat = 108
# __NR_fstat64 is not set
# __NR_fstatat64 is not set
@@ -702,6 +731,7 @@ __NR_rename = 38
__NR_renameat = 295
__NR_renameat2 = 347
__NR_restart_syscall = 7
+# __NR_riscv_flush_icache is not set
__NR_rmdir = 40
__NR_rseq = 383
__NR_rt_sigaction = 174