aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-03-14 13:40:11 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-03-14 13:40:11 +0100
commit1e8208402d9c84d5f3ee6e33b63db8befbf61032 (patch)
tree0ba7960b0df43587ff36adde61a41359802acf8e /sys/linux
parentd34313cd5d5c25ea3a914140f25168738dc96aef (diff)
sys/linux: regenerate and fix const files
1. Move fsverity descriptions to a separate file which is not regenerated automatically. It was dropped from linux-next. 2. Fix tlk_device.txt name in syz-extract. 3. Update some socket consts e.g. s/SO_TIMESTAMPING/SO_TIMESTAMPING_OLD/. 4. Regenerate const files on current upstream head.
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_ppc64le.const2
-rw-r--r--sys/linux/fs_ioctl.txt11
-rw-r--r--sys/linux/fs_ioctl_386.const5
-rw-r--r--sys/linux/fs_ioctl_amd64.const5
-rw-r--r--sys/linux/fs_ioctl_arm.const5
-rw-r--r--sys/linux/fs_ioctl_arm64.const5
-rw-r--r--sys/linux/fs_ioctl_ppc64le.const5
-rw-r--r--sys/linux/fsverity.txt16
-rw-r--r--sys/linux/fsverity_386.const7
-rw-r--r--sys/linux/fsverity_amd64.const7
-rw-r--r--sys/linux/fsverity_arm.const7
-rw-r--r--sys/linux/fsverity_arm64.const7
-rw-r--r--sys/linux/fsverity_ppc64le.const7
-rw-r--r--sys/linux/fuse_386.const2
-rw-r--r--sys/linux/fuse_amd64.const2
-rw-r--r--sys/linux/fuse_arm.const2
-rw-r--r--sys/linux/fuse_arm64.const2
-rw-r--r--sys/linux/fuse_ppc64le.const2
-rw-r--r--sys/linux/gen/386.go283
-rw-r--r--sys/linux/gen/amd64.go20
-rw-r--r--sys/linux/gen/arm.go27
-rw-r--r--sys/linux/gen/arm64.go20
-rw-r--r--sys/linux/gen/ppc64le.go298
-rw-r--r--sys/linux/ipc_386.const20
-rw-r--r--sys/linux/ipc_ppc64le.const22
-rw-r--r--sys/linux/socket.txt8
-rw-r--r--sys/linux/socket_386.const10
-rw-r--r--sys/linux/socket_amd64.const10
-rw-r--r--sys/linux/socket_arm.const10
-rw-r--r--sys/linux/socket_arm64.const10
-rw-r--r--sys/linux/socket_ppc64le.const10
-rw-r--r--sys/linux/sys_arm.const2
36 files changed, 710 insertions, 147 deletions
diff --git a/sys/linux/bpf_386.const b/sys/linux/bpf_386.const
index 87177c744..75be7bd4e 100644
--- a/sys/linux/bpf_386.const
+++ b/sys/linux/bpf_386.const
@@ -153,7 +153,7 @@ BPF_XOR0 = 10
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 93
+__BPF_FUNC_MAX_ID = 98
__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 5ac5525f9..5bd2c446e 100644
--- a/sys/linux/bpf_amd64.const
+++ b/sys/linux/bpf_amd64.const
@@ -153,7 +153,7 @@ BPF_XOR0 = 10
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 93
+__BPF_FUNC_MAX_ID = 98
__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 20b477f21..58294538b 100644
--- a/sys/linux/bpf_arm.const
+++ b/sys/linux/bpf_arm.const
@@ -153,7 +153,7 @@ BPF_XOR0 = 10
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 93
+__BPF_FUNC_MAX_ID = 98
__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 b1f48f265..83b65b42d 100644
--- a/sys/linux/bpf_arm64.const
+++ b/sys/linux/bpf_arm64.const
@@ -153,7 +153,7 @@ BPF_XOR0 = 10
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 93
+__BPF_FUNC_MAX_ID = 98
__MAX_BPF_REG = 11
__NR_bpf = 280
bpf_call_code = 133
diff --git a/sys/linux/bpf_ppc64le.const b/sys/linux/bpf_ppc64le.const
index 4aada76d2..c18335fd8 100644
--- a/sys/linux/bpf_ppc64le.const
+++ b/sys/linux/bpf_ppc64le.const
@@ -153,7 +153,7 @@ BPF_XOR0 = 10
BTF_MAGIC = 60319
BTF_VERSION = 1
MAX_BPF_REG = 11
-__BPF_FUNC_MAX_ID = 93
+__BPF_FUNC_MAX_ID = 98
__MAX_BPF_REG = 11
__NR_bpf = 361
bpf_call_code = 133
diff --git a/sys/linux/fs_ioctl.txt b/sys/linux/fs_ioctl.txt
index 37abbe132..977bfdbac 100644
--- a/sys/linux/fs_ioctl.txt
+++ b/sys/linux/fs_ioctl.txt
@@ -4,7 +4,6 @@
include <uapi/linux/fiemap.h>
include <uapi/linux/fs.h>
include <uapi/linux/fsmap.h>
-include <uapi/linux/fsverity.h>
include <linux/falloc.h>
ioctl$FIBMAP(fd fd, cmd const[FIBMAP], arg ptr[in, int32])
@@ -28,8 +27,6 @@ ioctl$FS_IOC_SET_ENCRYPTION_POLICY(fd fd, cmd const[FS_IOC_SET_ENCRYPTION_POLICY
ioctl$FS_IOC_GET_ENCRYPTION_POLICY(fd fd, cmd const[FS_IOC_GET_ENCRYPTION_POLICY], arg ptr[out, array[int8, 16]])
ioctl$FS_IOC_GET_ENCRYPTION_PWSALT(fd fd, cmd const[FS_IOC_GET_ENCRYPTION_PWSALT], arg ptr[out, fscrypt_policy])
ioctl$FS_IOC_GETFSMAP(fd fd, cmd const[FS_IOC_GETFSMAP], arg ptr[in, fsmap_head])
-ioctl$FS_IOC_ENABLE_VERITY(fd fd, cmd const[FS_IOC_ENABLE_VERITY])
-ioctl$FS_IOC_MEASURE_VERITY(fd fd, cmd const[FS_IOC_MEASURE_VERITY], arg ptr[inout, fsverity_digest])
fscrypt_policy {
version const[0, int8]
@@ -51,14 +48,6 @@ type fscrypt_policy_mode_t[CONTENTS, FILENAMES] {
fs_policy_flags = FS_POLICY_FLAGS_PAD_4, FS_POLICY_FLAGS_PAD_8, FS_POLICY_FLAGS_PAD_16
-fsverity_digest_algorithm_flags = FS_VERITY_ALG_SHA256, FS_VERITY_ALG_SHA512, FS_VERITY_ALG_CRC32C
-
-fsverity_digest {
- digest_algorithm flags[fsverity_digest_algorithm_flags, int16]
- digest_size len[digest, int16]
- digest array[int8]
-}
-
space_resv {
l_type const[0, int16]
l_whence flags[seek_whence, int16]
diff --git a/sys/linux/fs_ioctl_386.const b/sys/linux/fs_ioctl_386.const
index 573018aae..2616b2ffc 100644
--- a/sys/linux/fs_ioctl_386.const
+++ b/sys/linux/fs_ioctl_386.const
@@ -13,7 +13,6 @@ FS_ENCRYPTION_MODE_AES_256_CTS = 4
FS_ENCRYPTION_MODE_AES_256_XTS = 1
FS_ENCRYPTION_MODE_SPECK128_256_CTS = 8
FS_ENCRYPTION_MODE_SPECK128_256_XTS = 7
-FS_IOC_ENABLE_VERITY = 26245
FS_IOC_FIEMAP = 3223348747
FS_IOC_FSGETXATTR = 2149341215
FS_IOC_FSSETXATTR = 1075599392
@@ -23,7 +22,6 @@ FS_IOC_GETFSMAP = 3233830971
FS_IOC_GETVERSION = 2147776001
FS_IOC_GET_ENCRYPTION_POLICY = 1074554389
FS_IOC_GET_ENCRYPTION_PWSALT = 1074816532
-FS_IOC_MEASURE_VERITY = 3221513862
FS_IOC_RESVSP = 1076647976
FS_IOC_SETFLAGS = 1074030082
FS_IOC_SETFSLABEL = 1090556978
@@ -33,7 +31,4 @@ FS_KEY_DESCRIPTOR_SIZE = 8
FS_POLICY_FLAGS_PAD_16 = 2
FS_POLICY_FLAGS_PAD_4 = 0
FS_POLICY_FLAGS_PAD_8 = 1
-FS_VERITY_ALG_CRC32C = 3
-FS_VERITY_ALG_SHA256 = 1
-FS_VERITY_ALG_SHA512 = 2
__NR_ioctl = 54
diff --git a/sys/linux/fs_ioctl_amd64.const b/sys/linux/fs_ioctl_amd64.const
index 6c27f1c9e..50573df43 100644
--- a/sys/linux/fs_ioctl_amd64.const
+++ b/sys/linux/fs_ioctl_amd64.const
@@ -13,7 +13,6 @@ FS_ENCRYPTION_MODE_AES_256_CTS = 4
FS_ENCRYPTION_MODE_AES_256_XTS = 1
FS_ENCRYPTION_MODE_SPECK128_256_CTS = 8
FS_ENCRYPTION_MODE_SPECK128_256_XTS = 7
-FS_IOC_ENABLE_VERITY = 26245
FS_IOC_FIEMAP = 3223348747
FS_IOC_FSGETXATTR = 2149341215
FS_IOC_FSSETXATTR = 1075599392
@@ -23,7 +22,6 @@ FS_IOC_GETFSMAP = 3233830971
FS_IOC_GETVERSION = 2148038145
FS_IOC_GET_ENCRYPTION_POLICY = 1074554389
FS_IOC_GET_ENCRYPTION_PWSALT = 1074816532
-FS_IOC_MEASURE_VERITY = 3221513862
FS_IOC_RESVSP = 1076910120
FS_IOC_SETFLAGS = 1074292226
FS_IOC_SETFSLABEL = 1090556978
@@ -33,7 +31,4 @@ FS_KEY_DESCRIPTOR_SIZE = 8
FS_POLICY_FLAGS_PAD_16 = 2
FS_POLICY_FLAGS_PAD_4 = 0
FS_POLICY_FLAGS_PAD_8 = 1
-FS_VERITY_ALG_CRC32C = 3
-FS_VERITY_ALG_SHA256 = 1
-FS_VERITY_ALG_SHA512 = 2
__NR_ioctl = 16
diff --git a/sys/linux/fs_ioctl_arm.const b/sys/linux/fs_ioctl_arm.const
index 573018aae..2616b2ffc 100644
--- a/sys/linux/fs_ioctl_arm.const
+++ b/sys/linux/fs_ioctl_arm.const
@@ -13,7 +13,6 @@ FS_ENCRYPTION_MODE_AES_256_CTS = 4
FS_ENCRYPTION_MODE_AES_256_XTS = 1
FS_ENCRYPTION_MODE_SPECK128_256_CTS = 8
FS_ENCRYPTION_MODE_SPECK128_256_XTS = 7
-FS_IOC_ENABLE_VERITY = 26245
FS_IOC_FIEMAP = 3223348747
FS_IOC_FSGETXATTR = 2149341215
FS_IOC_FSSETXATTR = 1075599392
@@ -23,7 +22,6 @@ FS_IOC_GETFSMAP = 3233830971
FS_IOC_GETVERSION = 2147776001
FS_IOC_GET_ENCRYPTION_POLICY = 1074554389
FS_IOC_GET_ENCRYPTION_PWSALT = 1074816532
-FS_IOC_MEASURE_VERITY = 3221513862
FS_IOC_RESVSP = 1076647976
FS_IOC_SETFLAGS = 1074030082
FS_IOC_SETFSLABEL = 1090556978
@@ -33,7 +31,4 @@ FS_KEY_DESCRIPTOR_SIZE = 8
FS_POLICY_FLAGS_PAD_16 = 2
FS_POLICY_FLAGS_PAD_4 = 0
FS_POLICY_FLAGS_PAD_8 = 1
-FS_VERITY_ALG_CRC32C = 3
-FS_VERITY_ALG_SHA256 = 1
-FS_VERITY_ALG_SHA512 = 2
__NR_ioctl = 54
diff --git a/sys/linux/fs_ioctl_arm64.const b/sys/linux/fs_ioctl_arm64.const
index d39f3105b..ee6dbf6ba 100644
--- a/sys/linux/fs_ioctl_arm64.const
+++ b/sys/linux/fs_ioctl_arm64.const
@@ -13,7 +13,6 @@ FS_ENCRYPTION_MODE_AES_256_CTS = 4
FS_ENCRYPTION_MODE_AES_256_XTS = 1
FS_ENCRYPTION_MODE_SPECK128_256_CTS = 8
FS_ENCRYPTION_MODE_SPECK128_256_XTS = 7
-FS_IOC_ENABLE_VERITY = 26245
FS_IOC_FIEMAP = 3223348747
FS_IOC_FSGETXATTR = 2149341215
FS_IOC_FSSETXATTR = 1075599392
@@ -23,7 +22,6 @@ FS_IOC_GETFSMAP = 3233830971
FS_IOC_GETVERSION = 2148038145
FS_IOC_GET_ENCRYPTION_POLICY = 1074554389
FS_IOC_GET_ENCRYPTION_PWSALT = 1074816532
-FS_IOC_MEASURE_VERITY = 3221513862
FS_IOC_RESVSP = 1076910120
FS_IOC_SETFLAGS = 1074292226
FS_IOC_SETFSLABEL = 1090556978
@@ -33,7 +31,4 @@ FS_KEY_DESCRIPTOR_SIZE = 8
FS_POLICY_FLAGS_PAD_16 = 2
FS_POLICY_FLAGS_PAD_4 = 0
FS_POLICY_FLAGS_PAD_8 = 1
-FS_VERITY_ALG_CRC32C = 3
-FS_VERITY_ALG_SHA256 = 1
-FS_VERITY_ALG_SHA512 = 2
__NR_ioctl = 29
diff --git a/sys/linux/fs_ioctl_ppc64le.const b/sys/linux/fs_ioctl_ppc64le.const
index 1fb59e7c6..b0524a18a 100644
--- a/sys/linux/fs_ioctl_ppc64le.const
+++ b/sys/linux/fs_ioctl_ppc64le.const
@@ -13,7 +13,6 @@ FS_ENCRYPTION_MODE_AES_256_CTS = 4
FS_ENCRYPTION_MODE_AES_256_XTS = 1
FS_ENCRYPTION_MODE_SPECK128_256_CTS = 8
FS_ENCRYPTION_MODE_SPECK128_256_XTS = 7
-FS_IOC_ENABLE_VERITY = 536897157
FS_IOC_FIEMAP = 3223348747
FS_IOC_FSGETXATTR = 1075599391
FS_IOC_FSSETXATTR = 2149341216
@@ -23,7 +22,6 @@ FS_IOC_GETFSMAP = 3233830971
FS_IOC_GETVERSION = 1074296321
FS_IOC_GET_ENCRYPTION_POLICY = 2148296213
FS_IOC_GET_ENCRYPTION_PWSALT = 2148558356
-FS_IOC_MEASURE_VERITY = 3221513862
FS_IOC_RESVSP = 2150651944
FS_IOC_SETFLAGS = 2148034050
FS_IOC_SETFSLABEL = 2164298802
@@ -33,7 +31,4 @@ FS_KEY_DESCRIPTOR_SIZE = 8
FS_POLICY_FLAGS_PAD_16 = 2
FS_POLICY_FLAGS_PAD_4 = 0
FS_POLICY_FLAGS_PAD_8 = 1
-FS_VERITY_ALG_CRC32C = 3
-FS_VERITY_ALG_SHA256 = 1
-FS_VERITY_ALG_SHA512 = 2
__NR_ioctl = 54
diff --git a/sys/linux/fsverity.txt b/sys/linux/fsverity.txt
new file mode 100644
index 000000000..eebeae09c
--- /dev/null
+++ b/sys/linux/fsverity.txt
@@ -0,0 +1,16 @@
+# Copyright 2019 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 <uapi/linux/fs.h>
+include <uapi/linux/fsverity.h>
+
+ioctl$FS_IOC_ENABLE_VERITY(fd fd, cmd const[FS_IOC_ENABLE_VERITY])
+ioctl$FS_IOC_MEASURE_VERITY(fd fd, cmd const[FS_IOC_MEASURE_VERITY], arg ptr[inout, fsverity_digest])
+
+fsverity_digest_algorithm_flags = FS_VERITY_ALG_SHA256, FS_VERITY_ALG_SHA512, FS_VERITY_ALG_CRC32C
+
+fsverity_digest {
+ digest_algorithm flags[fsverity_digest_algorithm_flags, int16]
+ digest_size len[digest, int16]
+ digest array[int8]
+}
diff --git a/sys/linux/fsverity_386.const b/sys/linux/fsverity_386.const
new file mode 100644
index 000000000..11164226f
--- /dev/null
+++ b/sys/linux/fsverity_386.const
@@ -0,0 +1,7 @@
+# AUTOGENERATED FILE
+FS_IOC_ENABLE_VERITY = 26245
+FS_IOC_MEASURE_VERITY = 3221513862
+FS_VERITY_ALG_CRC32C = 3
+FS_VERITY_ALG_SHA256 = 1
+FS_VERITY_ALG_SHA512 = 2
+__NR_ioctl = 54
diff --git a/sys/linux/fsverity_amd64.const b/sys/linux/fsverity_amd64.const
new file mode 100644
index 000000000..255197bde
--- /dev/null
+++ b/sys/linux/fsverity_amd64.const
@@ -0,0 +1,7 @@
+# AUTOGENERATED FILE
+FS_IOC_ENABLE_VERITY = 26245
+FS_IOC_MEASURE_VERITY = 3221513862
+FS_VERITY_ALG_CRC32C = 3
+FS_VERITY_ALG_SHA256 = 1
+FS_VERITY_ALG_SHA512 = 2
+__NR_ioctl = 16
diff --git a/sys/linux/fsverity_arm.const b/sys/linux/fsverity_arm.const
new file mode 100644
index 000000000..11164226f
--- /dev/null
+++ b/sys/linux/fsverity_arm.const
@@ -0,0 +1,7 @@
+# AUTOGENERATED FILE
+FS_IOC_ENABLE_VERITY = 26245
+FS_IOC_MEASURE_VERITY = 3221513862
+FS_VERITY_ALG_CRC32C = 3
+FS_VERITY_ALG_SHA256 = 1
+FS_VERITY_ALG_SHA512 = 2
+__NR_ioctl = 54
diff --git a/sys/linux/fsverity_arm64.const b/sys/linux/fsverity_arm64.const
new file mode 100644
index 000000000..30e3a9e6a
--- /dev/null
+++ b/sys/linux/fsverity_arm64.const
@@ -0,0 +1,7 @@
+# AUTOGENERATED FILE
+FS_IOC_ENABLE_VERITY = 26245
+FS_IOC_MEASURE_VERITY = 3221513862
+FS_VERITY_ALG_CRC32C = 3
+FS_VERITY_ALG_SHA256 = 1
+FS_VERITY_ALG_SHA512 = 2
+__NR_ioctl = 29
diff --git a/sys/linux/fsverity_ppc64le.const b/sys/linux/fsverity_ppc64le.const
new file mode 100644
index 000000000..ec0e81347
--- /dev/null
+++ b/sys/linux/fsverity_ppc64le.const
@@ -0,0 +1,7 @@
+# AUTOGENERATED FILE
+FS_IOC_ENABLE_VERITY = 536897157
+FS_IOC_MEASURE_VERITY = 3221513862
+FS_VERITY_ALG_CRC32C = 3
+FS_VERITY_ALG_SHA256 = 1
+FS_VERITY_ALG_SHA512 = 2
+__NR_ioctl = 54
diff --git a/sys/linux/fuse_386.const b/sys/linux/fuse_386.const
index b36dc5b88..1dcfff3ef 100644
--- a/sys/linux/fuse_386.const
+++ b/sys/linux/fuse_386.const
@@ -18,7 +18,7 @@ FUSE_FLOCK_LOCKS = 1024
FUSE_HANDLE_KILLPRIV = 524288
FUSE_HAS_IOCTL_DIR = 2048
FUSE_IOCTL_RETRY = 4
-FUSE_KERNEL_MINOR_VERSION = 28
+FUSE_KERNEL_MINOR_VERSION = 29
FUSE_KERNEL_VERSION = 7
FUSE_NOTIFY_DELETE = 6
FUSE_NOTIFY_INVAL_ENTRY = 3
diff --git a/sys/linux/fuse_amd64.const b/sys/linux/fuse_amd64.const
index e0a4e23aa..69d6c4b39 100644
--- a/sys/linux/fuse_amd64.const
+++ b/sys/linux/fuse_amd64.const
@@ -18,7 +18,7 @@ FUSE_FLOCK_LOCKS = 1024
FUSE_HANDLE_KILLPRIV = 524288
FUSE_HAS_IOCTL_DIR = 2048
FUSE_IOCTL_RETRY = 4
-FUSE_KERNEL_MINOR_VERSION = 28
+FUSE_KERNEL_MINOR_VERSION = 29
FUSE_KERNEL_VERSION = 7
FUSE_NOTIFY_DELETE = 6
FUSE_NOTIFY_INVAL_ENTRY = 3
diff --git a/sys/linux/fuse_arm.const b/sys/linux/fuse_arm.const
index 86f789b90..a0cd882c0 100644
--- a/sys/linux/fuse_arm.const
+++ b/sys/linux/fuse_arm.const
@@ -18,7 +18,7 @@ FUSE_FLOCK_LOCKS = 1024
FUSE_HANDLE_KILLPRIV = 524288
FUSE_HAS_IOCTL_DIR = 2048
FUSE_IOCTL_RETRY = 4
-FUSE_KERNEL_MINOR_VERSION = 28
+FUSE_KERNEL_MINOR_VERSION = 29
FUSE_KERNEL_VERSION = 7
FUSE_NOTIFY_DELETE = 6
FUSE_NOTIFY_INVAL_ENTRY = 3
diff --git a/sys/linux/fuse_arm64.const b/sys/linux/fuse_arm64.const
index 0c389aa48..475a6bdcc 100644
--- a/sys/linux/fuse_arm64.const
+++ b/sys/linux/fuse_arm64.const
@@ -18,7 +18,7 @@ FUSE_FLOCK_LOCKS = 1024
FUSE_HANDLE_KILLPRIV = 524288
FUSE_HAS_IOCTL_DIR = 2048
FUSE_IOCTL_RETRY = 4
-FUSE_KERNEL_MINOR_VERSION = 28
+FUSE_KERNEL_MINOR_VERSION = 29
FUSE_KERNEL_VERSION = 7
FUSE_NOTIFY_DELETE = 6
FUSE_NOTIFY_INVAL_ENTRY = 3
diff --git a/sys/linux/fuse_ppc64le.const b/sys/linux/fuse_ppc64le.const
index 5587e1a8e..5f5dc7596 100644
--- a/sys/linux/fuse_ppc64le.const
+++ b/sys/linux/fuse_ppc64le.const
@@ -18,7 +18,7 @@ FUSE_FLOCK_LOCKS = 1024
FUSE_HANDLE_KILLPRIV = 524288
FUSE_HAS_IOCTL_DIR = 2048
FUSE_IOCTL_RETRY = 4
-FUSE_KERNEL_MINOR_VERSION = 28
+FUSE_KERNEL_MINOR_VERSION = 29
FUSE_KERNEL_VERSION = 7
FUSE_NOTIFY_DELETE = 6
FUSE_NOTIFY_INVAL_ENTRY = 3
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index 0df52e7ab..1552f8fbe 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -119,6 +119,10 @@ var resources_386 = []*ResourceDesc{
{Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}},
{Name: "inotifydesc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"inotifydesc"}, Values: []uint64{0}},
{Name: "io_ctx", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"io_ctx"}, Values: []uint64{0}},
+ {Name: "ipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc"}, Values: []uint64{0, 18446744073709551615}},
+ {Name: "ipc_msq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_msq"}, Values: []uint64{0, 18446744073709551615}},
+ {Name: "ipc_sem", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_sem"}, Values: []uint64{0, 18446744073709551615}},
+ {Name: "ipc_shm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_shm"}, Values: []uint64{0, 18446744073709551615}},
{Name: "key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key"}, Values: []uint64{0}},
{Name: "keyring", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "keyring"}, Values: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}},
{Name: "pid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pid"}, Values: []uint64{0, 18446744073709551615}},
@@ -126,6 +130,7 @@ var resources_386 = []*ResourceDesc{
{Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{18446744073709551615}},
{Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{18446744073709551615}},
{Name: "rfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "rfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "shmaddr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"shmaddr"}, Values: []uint64{0}},
{Name: "sock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_alg", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_algconn", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_algconn"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -1020,7 +1025,7 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 93},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 98},
}}},
{Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149},
@@ -5154,7 +5159,7 @@ var structDescs_386 = []*KeyedStruct{
}}},
{Key: StructKey{Name: "fuse_init_out"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fuse_init_out", TypeSize: 64}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "maj", TypeSize: 4}}, Val: 7},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "min", TypeSize: 4}}, Val: 28},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "min", TypeSize: 4}}, Val: 29},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_readahead", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fuse_init_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_background", TypeSize: 2}}},
@@ -7659,6 +7664,18 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tcp_fin_timeout", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "udp_timeout", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "ipc_perm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipc_perm", TypeSize: 36}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "cuid", TypeSize: 4}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "cgid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "seq", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad2", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "ipgre_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipgre_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GRE_LOCAL, int16], ipv4_addr]"}, FldName: "IFLA_GRE_LOCAL"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GRE_REMOTE, int16], ipv4_addr]"}, FldName: "IFLA_GRE_REMOTE"},
@@ -9962,6 +9979,14 @@ var structDescs_386 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nodots", TypeSize: 6}, Kind: 2, Values: []string{"nodots"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dots", TypeSize: 4}, Kind: 2, Values: []string{"dots"}, NoZ: true},
}}},
+ {Key: StructKey{Name: "msgbuf"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msgbuf", IsVarlen: true}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "msgbuf", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msgbuf", ArgDir: 1, IsVarlen: true}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 1, IsVarlen: true}},
+ }}},
{Key: StructKey{Name: "msghdr_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_alg", TypeSize: 28}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addr", TypeSize: 4}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrlen", TypeSize: 4}}},
@@ -10763,6 +10788,19 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_controllen", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "msg_flags", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true},
}}},
+ {Key: StructKey{Name: "msqid_ds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msqid_ds", TypeSize: 76}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "ipc_perm"}, FldName: "perm"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stime", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "rtime", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ctime", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cbytes", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "qnum", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "qbytes", TypeSize: 4}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "lspid", TypeSize: 4}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "lrpid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "nbd_attr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nbd_attr_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[NBD_ATTR_INDEX, int16], proc[0, 1, int32]]"}, FldName: "NBD_ATTR_INDEX"},
&StructType{Key: StructKey{Name: "nlattr_t[const[NBD_ATTR_SIZE_BYTES, int16], int64]"}, FldName: "NBD_ATTR_SIZE_BYTES"},
@@ -19161,6 +19199,14 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp2", TypeSize: 1}}, Val: 32},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "tcon", IsVarlen: true}, Kind: 2, SubKind: "selinux_task_context", Values: []string{"system_u:system_r:kernel_t:s0\x00", "unconfined_u:system_r:insmod_t:s0-s0:c0.c1023\x00", "/sbin/dhclient\x00", "unconfined\x00", "/usr/lib/telepathy/mission-control-5\x00", "/usr/sbin/cups-browsed\x00", "/usr/sbin/cupsd\x00", "/usr/sbin/ntpd\x00"}},
}}},
+ {Key: StructKey{Name: "semid_ds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "semid_ds", TypeSize: 56}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "ipc_perm"}, FldName: "perm"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "otime", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ctime", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "nsems", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "send_mmsghdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "send_mmsghdr", TypeSize: 32}, Fields: []Type{
&StructType{Key: StructKey{Name: "send_msghdr"}, FldName: "msg_hdr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "msg_len", TypeSize: 4}}},
@@ -19219,6 +19265,19 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dxfer_len", TypeSize: 4}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dxferp", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[out, array[int8]]"}}}},
}}},
+ {Key: StructKey{Name: "shmid_ds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "shmid_ds", TypeSize: 72}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "ipc_perm"}, FldName: "perm"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "segsz", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "atime", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "dtime", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ctime", TypeSize: 4}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "cpid", TypeSize: 4}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "lpid", TypeSize: 4}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nattch", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused0", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused1", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused2", TypeSize: 4}}},
+ }}},
{Key: StructKey{Name: "sigaction"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sigaction", TypeSize: 24}, Fields: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "handler", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "text", IsVarlen: true}, Kind: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
@@ -34518,6 +34577,56 @@ var syscalls_386 = []*Syscall{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mremap_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true},
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "newaddr", TypeSize: 4}},
}},
+ {NR: 402, Name: "msgctl$IPC_INFO", CallName: "msgctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 402, Name: "msgctl$IPC_RMID", CallName: "msgctl", MissingArgs: 1, Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}},
+ }},
+ {NR: 402, Name: "msgctl$IPC_SET", CallName: "msgctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msqid_ds"}}},
+ }},
+ {NR: 402, Name: "msgctl$IPC_STAT", CallName: "msgctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 402, Name: "msgctl$MSG_INFO", CallName: "msgctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 402, Name: "msgctl$MSG_STAT", CallName: "msgctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 399, Name: "msgget", CallName: "msgget", Args: []Type{
+ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039379027, ValuesPerProc: 4},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 399, Name: "msgget$private", CallName: "msgget", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 401, Name: "msgrcv", CallName: "msgrcv", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msgp", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msgbuf", Dir: 1}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 4}}, Buf: "msgp"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgrcv_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2048, 8192, 4096}, BitMask: true},
+ }},
+ {NR: 400, Name: "msgsnd", CallName: "msgsnd", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msgp", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msgbuf"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 4}}, Buf: "msgp"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgsnd_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2048}, BitMask: true},
+ }},
{NR: 144, Name: "msync", CallName: "msync", Args: []Type{
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 4}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "addr"},
@@ -35926,6 +36035,93 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "exp", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fd_set", Dir: 2}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "tvp", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 2}}},
}},
+ {NR: 394, Name: "semctl$GETALL", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 13},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$GETNCNT", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$GETPID", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$GETVAL", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$GETZCNT", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 15},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$IPC_INFO", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$IPC_RMID", CallName: "semctl", MissingArgs: 1, Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}},
+ }},
+ {NR: 394, Name: "semctl$IPC_SET", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "semid_ds"}}},
+ }},
+ {NR: 394, Name: "semctl$IPC_STAT", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$SEM_INFO", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$SEM_STAT", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 18},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$SETALL", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 17},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}}},
+ }},
+ {NR: 394, Name: "semctl$SETVAL", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 16},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 393, Name: "semget", CallName: "semget", Args: []Type{
+ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039359027, ValuesPerProc: 4},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "nsems", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "semget_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 393, Name: "semget$private", CallName: "semget", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "nsems", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "semget_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 187, Name: "sendfile", CallName: "sendfile", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdout", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", TypeSize: 4}},
@@ -38593,6 +38789,63 @@ var syscalls_386 = []*Syscall{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "val"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "setxattr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true},
}},
+ {NR: 397, Name: "shmat", CallName: "shmat", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shmat_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{8192, 4096, 16384}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "shmaddr", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 396, Name: "shmctl$IPC_INFO", CallName: "shmctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 396, Name: "shmctl$IPC_RMID", CallName: "shmctl", MissingArgs: 1, Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}},
+ }},
+ {NR: 396, Name: "shmctl$IPC_SET", CallName: "shmctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "shmid_ds"}}},
+ }},
+ {NR: 396, Name: "shmctl$IPC_STAT", CallName: "shmctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 396, Name: "shmctl$SHM_INFO", CallName: "shmctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 396, Name: "shmctl$SHM_LOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11},
+ }},
+ {NR: 396, Name: "shmctl$SHM_STAT", CallName: "shmctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 13},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 396, Name: "shmctl$SHM_UNLOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12},
+ }},
+ {NR: 398, Name: "shmdt", CallName: "shmdt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "shmaddr", FldName: "addr", TypeSize: 4}},
+ }},
+ {NR: 395, Name: "shmget", CallName: "shmget", Args: []Type{
+ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039339027, ValuesPerProc: 4},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "unused"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shmget_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{512, 1024, 2048, 1409286144, 2013265920, 4096, 256, 128, 64, 32, 16, 8, 4, 2, 1}},
+ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "unused", TypeSize: 4}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 395, Name: "shmget$private", CallName: "shmget", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 4}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "unused"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shmget_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{512, 1024, 2048, 1409286144, 2013265920, 4096, 256, 128, 64, 32, 16, 8, 4, 2, 1}},
+ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "unused", TypeSize: 4}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 373, Name: "shutdown", CallName: "shutdown", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shutdown_flags", FldName: "how", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true},
@@ -41623,7 +41876,7 @@ var consts_386 = []ConstValue{
{Name: "FUSE_HANDLE_KILLPRIV", Value: 524288},
{Name: "FUSE_HAS_IOCTL_DIR", Value: 2048},
{Name: "FUSE_IOCTL_RETRY", Value: 4},
- {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 28},
+ {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 29},
{Name: "FUSE_KERNEL_VERSION", Value: 7},
{Name: "FUSE_NOTIFY_DELETE", Value: 6},
{Name: "FUSE_NOTIFY_INVAL_ENTRY", Value: 3},
@@ -45010,7 +45263,7 @@ var consts_386 = []ConstValue{
{Name: "SO_RCVBUF", Value: 8},
{Name: "SO_RCVBUFFORCE", Value: 33},
{Name: "SO_RCVLOWAT", Value: 18},
- {Name: "SO_RCVTIMEO", Value: 20},
+ {Name: "SO_RCVTIMEO_OLD", Value: 20},
{Name: "SO_RDS_MSG_RXPATH_LATENCY", Value: 10},
{Name: "SO_RDS_TRANSPORT", Value: 8},
{Name: "SO_REUSEADDR", Value: 2},
@@ -45020,10 +45273,10 @@ var consts_386 = []ConstValue{
{Name: "SO_SNDBUF", Value: 7},
{Name: "SO_SNDBUFFORCE", Value: 32},
{Name: "SO_SNDLOWAT", Value: 19},
- {Name: "SO_SNDTIMEO", Value: 21},
- {Name: "SO_TIMESTAMP", Value: 29},
- {Name: "SO_TIMESTAMPING", Value: 37},
- {Name: "SO_TIMESTAMPNS", Value: 35},
+ {Name: "SO_SNDTIMEO_OLD", Value: 21},
+ {Name: "SO_TIMESTAMPING_OLD", Value: 37},
+ {Name: "SO_TIMESTAMPNS_OLD", Value: 35},
+ {Name: "SO_TIMESTAMP_OLD", Value: 29},
{Name: "SO_TXTIME", Value: 61},
{Name: "SO_TYPE", Value: 3},
{Name: "SO_VM_SOCKETS_BUFFER_MAX_SIZE", Value: 2},
@@ -47224,7 +47477,7 @@ var consts_386 = []ConstValue{
{Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688},
{Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798},
{Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514},
- {Name: "__BPF_FUNC_MAX_ID", Value: 93},
+ {Name: "__BPF_FUNC_MAX_ID", Value: 98},
{Name: "__MAX_BPF_REG", Value: 11},
{Name: "__NR_accept4", Value: 364},
{Name: "__NR_acct", Value: 51},
@@ -47370,6 +47623,10 @@ var consts_386 = []ConstValue{
{Name: "__NR_mq_timedsend", Value: 279},
{Name: "__NR_mq_unlink", Value: 278},
{Name: "__NR_mremap", Value: 163},
+ {Name: "__NR_msgctl", Value: 402},
+ {Name: "__NR_msgget", Value: 399},
+ {Name: "__NR_msgrcv", Value: 401},
+ {Name: "__NR_msgsnd", Value: 400},
{Name: "__NR_msync", Value: 144},
{Name: "__NR_munlock", Value: 151},
{Name: "__NR_munlockall", Value: 153},
@@ -47438,6 +47695,8 @@ var consts_386 = []ConstValue{
{Name: "__NR_sched_yield", Value: 158},
{Name: "__NR_seccomp", Value: 354},
{Name: "__NR_select", Value: 82},
+ {Name: "__NR_semctl", Value: 394},
+ {Name: "__NR_semget", Value: 393},
{Name: "__NR_sendfile", Value: 187},
{Name: "__NR_sendfile64", Value: 239},
{Name: "__NR_sendmmsg", Value: 345},
@@ -47463,6 +47722,10 @@ var consts_386 = []ConstValue{
{Name: "__NR_setsockopt", Value: 366},
{Name: "__NR_setuid", Value: 23},
{Name: "__NR_setxattr", Value: 226},
+ {Name: "__NR_shmat", Value: 397},
+ {Name: "__NR_shmctl", Value: 396},
+ {Name: "__NR_shmdt", Value: 398},
+ {Name: "__NR_shmget", Value: 395},
{Name: "__NR_shutdown", Value: 373},
{Name: "__NR_sigaltstack", Value: 186},
{Name: "__NR_signalfd", Value: 321},
@@ -47520,4 +47783,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "128a81541c2be92786d8f10bb9a09bc617848c2a"
+const revision_386 = "0a0e33691ab05cdb4188e6ed357107f6b910fafb"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index 4e0e2ad77..268e6f3c2 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -1029,7 +1029,7 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 93},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 98},
}}},
{Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149},
@@ -5250,7 +5250,7 @@ var structDescs_amd64 = []*KeyedStruct{
}}},
{Key: StructKey{Name: "fuse_init_out"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fuse_init_out", TypeSize: 64}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "maj", TypeSize: 4}}, Val: 7},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "min", TypeSize: 4}}, Val: 28},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "min", TypeSize: 4}}, Val: 29},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_readahead", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fuse_init_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_background", TypeSize: 2}}},
@@ -42396,7 +42396,7 @@ var consts_amd64 = []ConstValue{
{Name: "FUSE_HANDLE_KILLPRIV", Value: 524288},
{Name: "FUSE_HAS_IOCTL_DIR", Value: 2048},
{Name: "FUSE_IOCTL_RETRY", Value: 4},
- {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 28},
+ {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 29},
{Name: "FUSE_KERNEL_VERSION", Value: 7},
{Name: "FUSE_NOTIFY_DELETE", Value: 6},
{Name: "FUSE_NOTIFY_INVAL_ENTRY", Value: 3},
@@ -45783,7 +45783,7 @@ var consts_amd64 = []ConstValue{
{Name: "SO_RCVBUF", Value: 8},
{Name: "SO_RCVBUFFORCE", Value: 33},
{Name: "SO_RCVLOWAT", Value: 18},
- {Name: "SO_RCVTIMEO", Value: 20},
+ {Name: "SO_RCVTIMEO_OLD", Value: 20},
{Name: "SO_RDS_MSG_RXPATH_LATENCY", Value: 10},
{Name: "SO_RDS_TRANSPORT", Value: 8},
{Name: "SO_REUSEADDR", Value: 2},
@@ -45793,10 +45793,10 @@ var consts_amd64 = []ConstValue{
{Name: "SO_SNDBUF", Value: 7},
{Name: "SO_SNDBUFFORCE", Value: 32},
{Name: "SO_SNDLOWAT", Value: 19},
- {Name: "SO_SNDTIMEO", Value: 21},
- {Name: "SO_TIMESTAMP", Value: 29},
- {Name: "SO_TIMESTAMPING", Value: 37},
- {Name: "SO_TIMESTAMPNS", Value: 35},
+ {Name: "SO_SNDTIMEO_OLD", Value: 21},
+ {Name: "SO_TIMESTAMPING_OLD", Value: 37},
+ {Name: "SO_TIMESTAMPNS_OLD", Value: 35},
+ {Name: "SO_TIMESTAMP_OLD", Value: 29},
{Name: "SO_TXTIME", Value: 61},
{Name: "SO_TYPE", Value: 3},
{Name: "SO_VM_SOCKETS_BUFFER_MAX_SIZE", Value: 2},
@@ -48011,7 +48011,7 @@ var consts_amd64 = []ConstValue{
{Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688},
{Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798},
{Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514},
- {Name: "__BPF_FUNC_MAX_ID", Value: 93},
+ {Name: "__BPF_FUNC_MAX_ID", Value: 98},
{Name: "__MAX_BPF_REG", Value: 11},
{Name: "__NR_accept", Value: 43},
{Name: "__NR_accept4", Value: 288},
@@ -48318,4 +48318,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "8fb493ce36069a092bb13b1f6aa0c3f5bde6ed9d"
+const revision_amd64 = "a17fc9ffd2d2e5fae6122fcc2f7b8307394fe83d"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 36965786f..77158de45 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -1025,7 +1025,7 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 93},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 98},
}}},
{Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149},
@@ -5159,7 +5159,7 @@ var structDescs_arm = []*KeyedStruct{
}}},
{Key: StructKey{Name: "fuse_init_out"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fuse_init_out", TypeSize: 64}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "maj", TypeSize: 4}}, Val: 7},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "min", TypeSize: 4}}, Val: 28},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "min", TypeSize: 4}}, Val: 29},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_readahead", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fuse_init_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_background", TypeSize: 2}}},
@@ -34019,6 +34019,12 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "memfd_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4}, BitMask: true},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_memfd", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 400, Name: "migrate_pages", CallName: "migrate_pages", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "maxnode", TypeSize: 4}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "old", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "new", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}},
+ }},
{NR: 219, Name: "mincore", CallName: "mincore", Args: []Type{
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 4}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "addr"},
@@ -41510,7 +41516,7 @@ var consts_arm = []ConstValue{
{Name: "FUSE_HANDLE_KILLPRIV", Value: 524288},
{Name: "FUSE_HAS_IOCTL_DIR", Value: 2048},
{Name: "FUSE_IOCTL_RETRY", Value: 4},
- {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 28},
+ {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 29},
{Name: "FUSE_KERNEL_VERSION", Value: 7},
{Name: "FUSE_NOTIFY_DELETE", Value: 6},
{Name: "FUSE_NOTIFY_INVAL_ENTRY", Value: 3},
@@ -44844,7 +44850,7 @@ var consts_arm = []ConstValue{
{Name: "SO_RCVBUF", Value: 8},
{Name: "SO_RCVBUFFORCE", Value: 33},
{Name: "SO_RCVLOWAT", Value: 18},
- {Name: "SO_RCVTIMEO", Value: 20},
+ {Name: "SO_RCVTIMEO_OLD", Value: 20},
{Name: "SO_RDS_MSG_RXPATH_LATENCY", Value: 10},
{Name: "SO_RDS_TRANSPORT", Value: 8},
{Name: "SO_REUSEADDR", Value: 2},
@@ -44854,10 +44860,10 @@ var consts_arm = []ConstValue{
{Name: "SO_SNDBUF", Value: 7},
{Name: "SO_SNDBUFFORCE", Value: 32},
{Name: "SO_SNDLOWAT", Value: 19},
- {Name: "SO_SNDTIMEO", Value: 21},
- {Name: "SO_TIMESTAMP", Value: 29},
- {Name: "SO_TIMESTAMPING", Value: 37},
- {Name: "SO_TIMESTAMPNS", Value: 35},
+ {Name: "SO_SNDTIMEO_OLD", Value: 21},
+ {Name: "SO_TIMESTAMPING_OLD", Value: 37},
+ {Name: "SO_TIMESTAMPNS_OLD", Value: 35},
+ {Name: "SO_TIMESTAMP_OLD", Value: 29},
{Name: "SO_TXTIME", Value: 61},
{Name: "SO_TYPE", Value: 3},
{Name: "SO_VM_SOCKETS_BUFFER_MAX_SIZE", Value: 2},
@@ -47058,7 +47064,7 @@ var consts_arm = []ConstValue{
{Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688},
{Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798},
{Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514},
- {Name: "__BPF_FUNC_MAX_ID", Value: 93},
+ {Name: "__BPF_FUNC_MAX_ID", Value: 98},
{Name: "__MAX_BPF_REG", Value: 11},
{Name: "__NR_accept", Value: 285},
{Name: "__NR_accept4", Value: 366},
@@ -47176,6 +47182,7 @@ var consts_arm = []ConstValue{
{Name: "__NR_mbind", Value: 319},
{Name: "__NR_membarrier", Value: 389},
{Name: "__NR_memfd_create", Value: 385},
+ {Name: "__NR_migrate_pages", Value: 400},
{Name: "__NR_mincore", Value: 219},
{Name: "__NR_mkdir", Value: 39},
{Name: "__NR_mkdirat", Value: 323},
@@ -47353,4 +47360,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "89af28e08a5fe6430ecedad595a5f602ab9263a2"
+const revision_arm = "4fb2c502fa3c67c71fe60ddf2550873f4335a914"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 4e5fc4f7f..e5b233dc6 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -1029,7 +1029,7 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 93},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 98},
}}},
{Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149},
@@ -5250,7 +5250,7 @@ var structDescs_arm64 = []*KeyedStruct{
}}},
{Key: StructKey{Name: "fuse_init_out"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fuse_init_out", TypeSize: 64}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "maj", TypeSize: 4}}, Val: 7},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "min", TypeSize: 4}}, Val: 28},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "min", TypeSize: 4}}, Val: 29},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_readahead", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fuse_init_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_background", TypeSize: 2}}},
@@ -41842,7 +41842,7 @@ var consts_arm64 = []ConstValue{
{Name: "FUSE_HANDLE_KILLPRIV", Value: 524288},
{Name: "FUSE_HAS_IOCTL_DIR", Value: 2048},
{Name: "FUSE_IOCTL_RETRY", Value: 4},
- {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 28},
+ {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 29},
{Name: "FUSE_KERNEL_VERSION", Value: 7},
{Name: "FUSE_NOTIFY_DELETE", Value: 6},
{Name: "FUSE_NOTIFY_INVAL_ENTRY", Value: 3},
@@ -45174,7 +45174,7 @@ var consts_arm64 = []ConstValue{
{Name: "SO_RCVBUF", Value: 8},
{Name: "SO_RCVBUFFORCE", Value: 33},
{Name: "SO_RCVLOWAT", Value: 18},
- {Name: "SO_RCVTIMEO", Value: 20},
+ {Name: "SO_RCVTIMEO_OLD", Value: 20},
{Name: "SO_RDS_MSG_RXPATH_LATENCY", Value: 10},
{Name: "SO_RDS_TRANSPORT", Value: 8},
{Name: "SO_REUSEADDR", Value: 2},
@@ -45184,10 +45184,10 @@ var consts_arm64 = []ConstValue{
{Name: "SO_SNDBUF", Value: 7},
{Name: "SO_SNDBUFFORCE", Value: 32},
{Name: "SO_SNDLOWAT", Value: 19},
- {Name: "SO_SNDTIMEO", Value: 21},
- {Name: "SO_TIMESTAMP", Value: 29},
- {Name: "SO_TIMESTAMPING", Value: 37},
- {Name: "SO_TIMESTAMPNS", Value: 35},
+ {Name: "SO_SNDTIMEO_OLD", Value: 21},
+ {Name: "SO_TIMESTAMPING_OLD", Value: 37},
+ {Name: "SO_TIMESTAMPNS_OLD", Value: 35},
+ {Name: "SO_TIMESTAMP_OLD", Value: 29},
{Name: "SO_TXTIME", Value: 61},
{Name: "SO_TYPE", Value: 3},
{Name: "SO_VM_SOCKETS_BUFFER_MAX_SIZE", Value: 2},
@@ -47402,7 +47402,7 @@ var consts_arm64 = []ConstValue{
{Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688},
{Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798},
{Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514},
- {Name: "__BPF_FUNC_MAX_ID", Value: 93},
+ {Name: "__BPF_FUNC_MAX_ID", Value: 98},
{Name: "__MAX_BPF_REG", Value: 11},
{Name: "__NR_accept", Value: 202},
{Name: "__NR_accept4", Value: 242},
@@ -47668,4 +47668,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "58b90ec2a1e2b3164cb3046d7e6e3f35c2f43d71"
+const revision_arm64 = "4b7009c8009f4d05ae3478b07945151611372941"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index f9f26201d..d2949f360 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -119,6 +119,10 @@ var resources_ppc64le = []*ResourceDesc{
{Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}},
{Name: "inotifydesc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"inotifydesc"}, Values: []uint64{0}},
{Name: "io_ctx", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"io_ctx"}, Values: []uint64{0}},
+ {Name: "ipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc"}, Values: []uint64{0, 18446744073709551615}},
+ {Name: "ipc_msq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_msq"}, Values: []uint64{0, 18446744073709551615}},
+ {Name: "ipc_sem", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_sem"}, Values: []uint64{0, 18446744073709551615}},
+ {Name: "ipc_shm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_shm"}, Values: []uint64{0, 18446744073709551615}},
{Name: "key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key"}, Values: []uint64{0}},
{Name: "keyring", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "keyring"}, Values: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}},
{Name: "pid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pid"}, Values: []uint64{0, 18446744073709551615}},
@@ -126,6 +130,7 @@ var resources_ppc64le = []*ResourceDesc{
{Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{18446744073709551615}},
{Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{18446744073709551615}},
{Name: "rfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "rfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "shmaddr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"shmaddr"}, Values: []uint64{0}},
{Name: "sock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_alg", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_algconn", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_algconn"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -1023,7 +1028,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 133},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "regs", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 93},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "func", TypeSize: 4}}, Kind: 2, RangeEnd: 98},
}}},
{Key: StructKey{Name: "bpf_insn_exit"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_exit", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 149},
@@ -5244,7 +5249,7 @@ var structDescs_ppc64le = []*KeyedStruct{
}}},
{Key: StructKey{Name: "fuse_init_out"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fuse_init_out", TypeSize: 64}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "maj", TypeSize: 4}}, Val: 7},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "min", TypeSize: 4}}, Val: 28},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "min", TypeSize: 4}}, Val: 29},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_readahead", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fuse_init_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152}, BitMask: true},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_background", TypeSize: 2}}},
@@ -7764,6 +7769,19 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tcp_fin_timeout", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "udp_timeout", TypeSize: 4}}},
}}},
+ {Key: StructKey{Name: "ipc_perm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipc_perm", TypeSize: 48}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "cuid", TypeSize: 4}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "cgid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_mode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "seq", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad2", TypeSize: 8}}},
+ }}},
{Key: StructKey{Name: "ipgre_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipgre_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GRE_LOCAL, int16], ipv4_addr]"}, FldName: "IFLA_GRE_LOCAL"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GRE_REMOTE, int16], ipv4_addr]"}, FldName: "IFLA_GRE_REMOTE"},
@@ -9839,6 +9857,14 @@ var structDescs_ppc64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nodots", TypeSize: 6}, Kind: 2, Values: []string{"nodots"}, NoZ: true},
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dots", TypeSize: 4}, Kind: 2, Values: []string{"dots"}, NoZ: true},
}}},
+ {Key: StructKey{Name: "msgbuf"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msgbuf", IsVarlen: true}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}},
+ }}},
+ {Key: StructKey{Name: "msgbuf", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msgbuf", ArgDir: 1, IsVarlen: true}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", ArgDir: 1, IsVarlen: true}},
+ }}},
{Key: StructKey{Name: "msghdr_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_alg", TypeSize: 56}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addr", TypeSize: 8}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrlen", TypeSize: 4}}},
@@ -10818,6 +10844,19 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "msg_flags", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
+ {Key: StructKey{Name: "msqid_ds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msqid_ds", TypeSize: 120}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "ipc_perm"}, FldName: "perm"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "stime", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "rtime", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ctime", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cbytes", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "qnum", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "qbytes", TypeSize: 8}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "lspid", TypeSize: 4}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "lrpid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 8}}},
+ }}},
{Key: StructKey{Name: "nbd_attr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nbd_attr_policy", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "nlattr_t[const[NBD_ATTR_INDEX, int16], proc[0, 1, int32]]"}, FldName: "NBD_ATTR_INDEX"},
&StructType{Key: StructKey{Name: "nlattr_t[const[NBD_ATTR_SIZE_BYTES, int16], int64]"}, FldName: "NBD_ATTR_SIZE_BYTES"},
@@ -19224,6 +19263,19 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp2", TypeSize: 1}}, Val: 32},
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "tcon", IsVarlen: true}, Kind: 2, SubKind: "selinux_task_context", Values: []string{"system_u:system_r:kernel_t:s0\x00", "unconfined_u:system_r:insmod_t:s0-s0:c0.c1023\x00", "/sbin/dhclient\x00", "unconfined\x00", "/usr/lib/telepathy/mission-control-5\x00", "/usr/sbin/cups-browsed\x00", "/usr/sbin/cupsd\x00", "/usr/sbin/ntpd\x00"}},
}}},
+ {Key: StructKey{Name: "sembuf"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sembuf", TypeSize: 6}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "num", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "op", TypeSize: 2}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "semop_flags", FldName: "flg", TypeSize: 2}}, Vals: []uint64{2048, 4096}, BitMask: true},
+ }}},
+ {Key: StructKey{Name: "semid_ds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "semid_ds", TypeSize: 88}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "ipc_perm"}, FldName: "perm"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "otime", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ctime", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "nsems", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad0", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 8}}},
+ }}},
{Key: StructKey{Name: "send_mmsghdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "send_mmsghdr", TypeSize: 64}, Fields: []Type{
&StructType{Key: StructKey{Name: "send_msghdr"}, FldName: "msg_hdr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "msg_len", TypeSize: 4}}},
@@ -19288,6 +19340,21 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dxfer_len", TypeSize: 4}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dxferp", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[out, array[int8]]"}}}},
}}},
+ {Key: StructKey{Name: "shmid_ds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "shmid_ds", TypeSize: 112}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "ipc_perm"}, FldName: "perm"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "segsz", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "atime", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "dtime", TypeSize: 8}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ctime", TypeSize: 8}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "cpid", TypeSize: 4}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "lpid", TypeSize: 4}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nattch", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused0", TypeSize: 2}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused1", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "unused2", TypeSize: 8}}},
+ }}},
{Key: StructKey{Name: "sigaction"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sigaction", TypeSize: 32}, Fields: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "handler", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "text", IsVarlen: true}, Kind: 4}},
&StructType{Key: StructKey{Name: "sigset"}, FldName: "mask"},
@@ -34462,6 +34529,56 @@ var syscalls_ppc64le = []*Syscall{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mremap_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true},
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "newaddr", TypeSize: 8}},
}},
+ {NR: 402, Name: "msgctl$IPC_INFO", CallName: "msgctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 402, Name: "msgctl$IPC_RMID", CallName: "msgctl", MissingArgs: 1, Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}},
+ }},
+ {NR: 402, Name: "msgctl$IPC_SET", CallName: "msgctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msqid_ds"}}},
+ }},
+ {NR: 402, Name: "msgctl$IPC_STAT", CallName: "msgctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 402, Name: "msgctl$MSG_INFO", CallName: "msgctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 12},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 402, Name: "msgctl$MSG_STAT", CallName: "msgctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 11},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 399, Name: "msgget", CallName: "msgget", Args: []Type{
+ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 8}}, ValuesStart: 2039379027, ValuesPerProc: 4},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 399, Name: "msgget$private", CallName: "msgget", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 401, Name: "msgrcv", CallName: "msgrcv", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msgp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msgbuf", Dir: 1}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 8}}, Buf: "msgp"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgbuf_type", FldName: "typ", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgrcv_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 8192, 4096}, BitMask: true},
+ }},
+ {NR: 400, Name: "msgsnd", CallName: "msgsnd", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msgp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msgbuf"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 8}}, Buf: "msgp"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "msgsnd_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048}, BitMask: true},
+ }},
{NR: 144, Name: "msync", CallName: "msync", Args: []Type{
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "addr"},
@@ -35870,6 +35987,99 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "exp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fd_set", Dir: 2}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "tvp", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 2}}},
}},
+ {NR: 394, Name: "semctl$GETALL", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 13},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$GETNCNT", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 14},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$GETPID", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 11},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$GETVAL", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 12},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$GETZCNT", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 15},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$IPC_INFO", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$IPC_RMID", CallName: "semctl", MissingArgs: 1, Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}},
+ }},
+ {NR: 394, Name: "semctl$IPC_SET", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "semid_ds"}}},
+ }},
+ {NR: 394, Name: "semctl$IPC_STAT", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$SEM_INFO", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$SEM_STAT", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 18},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 394, Name: "semctl$SETALL", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 17},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}}},
+ }},
+ {NR: 394, Name: "semctl$SETVAL", CallName: "semctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "semnum", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 16},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ }},
+ {NR: 393, Name: "semget", CallName: "semget", Args: []Type{
+ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 8}}, ValuesStart: 2039359027, ValuesPerProc: 4},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "nsems", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "semget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 393, Name: "semget$private", CallName: "semget", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sem_sem_id", FldName: "nsems", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "semget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 392, Name: "semtimedop", CallName: "semtimedop", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ops", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "sembuf"}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nops", TypeSize: 8}}, Buf: "ops"},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
+ }},
{NR: 186, Name: "sendfile", CallName: "sendfile", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdout", TypeSize: 4}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", TypeSize: 4}},
@@ -38528,6 +38738,63 @@ var syscalls_ppc64le = []*Syscall{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "val"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "setxattr_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true},
}},
+ {NR: 397, Name: "shmat", CallName: "shmat", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shmat_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{8192, 4096, 16384}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "shmaddr", FldName: "ret", TypeSize: 8, ArgDir: 1}}},
+ {NR: 396, Name: "shmctl$IPC_INFO", CallName: "shmctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 396, Name: "shmctl$IPC_RMID", CallName: "shmctl", MissingArgs: 1, Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}},
+ }},
+ {NR: 396, Name: "shmctl$IPC_SET", CallName: "shmctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "shmid_ds"}}},
+ }},
+ {NR: 396, Name: "shmctl$IPC_STAT", CallName: "shmctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 396, Name: "shmctl$SHM_INFO", CallName: "shmctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 14},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 396, Name: "shmctl$SHM_LOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 11},
+ }},
+ {NR: 396, Name: "shmctl$SHM_STAT", CallName: "shmctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 13},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}},
+ }},
+ {NR: 396, Name: "shmctl$SHM_UNLOCK", CallName: "shmctl", MissingArgs: 1, Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 12},
+ }},
+ {NR: 398, Name: "shmdt", CallName: "shmdt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "shmaddr", FldName: "addr", TypeSize: 8}},
+ }},
+ {NR: 395, Name: "shmget", CallName: "shmget", Args: []Type{
+ &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 8}}, ValuesStart: 2039339027, ValuesPerProc: 4},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "unused"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shmget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 2048, 1409286144, 2013265920, 4096, 256, 128, 64, 32, 16, 8, 4, 2, 1}},
+ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "unused", TypeSize: 8}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 395, Name: "shmget$private", CallName: "shmget", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "unused"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shmget_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{512, 1024, 2048, 1409286144, 2013265920, 4096, 256, 128, 64, 32, 16, 8, 4, 2, 1}},
+ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "unused", TypeSize: 8}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 338, Name: "shutdown", CallName: "shutdown", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "shutdown_flags", FldName: "how", TypeSize: 8}}, Vals: []uint64{0, 1}, BitMask: true},
@@ -41543,7 +41810,7 @@ var consts_ppc64le = []ConstValue{
{Name: "FUSE_HANDLE_KILLPRIV", Value: 524288},
{Name: "FUSE_HAS_IOCTL_DIR", Value: 2048},
{Name: "FUSE_IOCTL_RETRY", Value: 4},
- {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 28},
+ {Name: "FUSE_KERNEL_MINOR_VERSION", Value: 29},
{Name: "FUSE_KERNEL_VERSION", Value: 7},
{Name: "FUSE_NOTIFY_DELETE", Value: 6},
{Name: "FUSE_NOTIFY_INVAL_ENTRY", Value: 3},
@@ -44876,7 +45143,7 @@ var consts_ppc64le = []ConstValue{
{Name: "SO_RCVBUF", Value: 8},
{Name: "SO_RCVBUFFORCE", Value: 33},
{Name: "SO_RCVLOWAT", Value: 16},
- {Name: "SO_RCVTIMEO", Value: 18},
+ {Name: "SO_RCVTIMEO_OLD", Value: 18},
{Name: "SO_RDS_MSG_RXPATH_LATENCY", Value: 10},
{Name: "SO_RDS_TRANSPORT", Value: 8},
{Name: "SO_REUSEADDR", Value: 2},
@@ -44886,10 +45153,10 @@ var consts_ppc64le = []ConstValue{
{Name: "SO_SNDBUF", Value: 7},
{Name: "SO_SNDBUFFORCE", Value: 32},
{Name: "SO_SNDLOWAT", Value: 17},
- {Name: "SO_SNDTIMEO", Value: 19},
- {Name: "SO_TIMESTAMP", Value: 29},
- {Name: "SO_TIMESTAMPING", Value: 37},
- {Name: "SO_TIMESTAMPNS", Value: 35},
+ {Name: "SO_SNDTIMEO_OLD", Value: 19},
+ {Name: "SO_TIMESTAMPING_OLD", Value: 37},
+ {Name: "SO_TIMESTAMPNS_OLD", Value: 35},
+ {Name: "SO_TIMESTAMP_OLD", Value: 29},
{Name: "SO_TXTIME", Value: 61},
{Name: "SO_TYPE", Value: 3},
{Name: "SO_VM_SOCKETS_BUFFER_MAX_SIZE", Value: 2},
@@ -47036,7 +47303,7 @@ var consts_ppc64le = []ConstValue{
{Name: "_LINUX_CAPABILITY_VERSION_1", Value: 429392688},
{Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798},
{Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514},
- {Name: "__BPF_FUNC_MAX_ID", Value: 93},
+ {Name: "__BPF_FUNC_MAX_ID", Value: 98},
{Name: "__MAX_BPF_REG", Value: 11},
{Name: "__NR_accept", Value: 330},
{Name: "__NR_accept4", Value: 344},
@@ -47180,6 +47447,10 @@ var consts_ppc64le = []ConstValue{
{Name: "__NR_mq_timedsend", Value: 264},
{Name: "__NR_mq_unlink", Value: 263},
{Name: "__NR_mremap", Value: 163},
+ {Name: "__NR_msgctl", Value: 402},
+ {Name: "__NR_msgget", Value: 399},
+ {Name: "__NR_msgrcv", Value: 401},
+ {Name: "__NR_msgsnd", Value: 400},
{Name: "__NR_msync", Value: 144},
{Name: "__NR_munlock", Value: 151},
{Name: "__NR_munlockall", Value: 153},
@@ -47248,6 +47519,9 @@ var consts_ppc64le = []ConstValue{
{Name: "__NR_sched_yield", Value: 158},
{Name: "__NR_seccomp", Value: 358},
{Name: "__NR_select", Value: 82},
+ {Name: "__NR_semctl", Value: 394},
+ {Name: "__NR_semget", Value: 393},
+ {Name: "__NR_semtimedop", Value: 392},
{Name: "__NR_sendfile", Value: 186},
{Name: "__NR_sendmmsg", Value: 349},
{Name: "__NR_sendmsg", Value: 341},
@@ -47271,6 +47545,10 @@ var consts_ppc64le = []ConstValue{
{Name: "__NR_setsockopt", Value: 339},
{Name: "__NR_setuid", Value: 23},
{Name: "__NR_setxattr", Value: 209},
+ {Name: "__NR_shmat", Value: 397},
+ {Name: "__NR_shmctl", Value: 396},
+ {Name: "__NR_shmdt", Value: 398},
+ {Name: "__NR_shmget", Value: 395},
{Name: "__NR_shutdown", Value: 338},
{Name: "__NR_sigaltstack", Value: 185},
{Name: "__NR_signalfd", Value: 305},
@@ -47327,4 +47605,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "bd5291942a429ed2bae7bdeb0cc8c1f23c3d3fdf"
+const revision_ppc64le = "1a16c369fcafc67ece8515c18e01226cccf49276"
diff --git a/sys/linux/ipc_386.const b/sys/linux/ipc_386.const
index 5de4bb805..5261865e1 100644
--- a/sys/linux/ipc_386.const
+++ b/sys/linux/ipc_386.const
@@ -41,15 +41,15 @@ S_IWUSR = 128
S_IXGRP = 8
S_IXOTH = 1
S_IXUSR = 64
-# __NR_msgctl is not set
-# __NR_msgget is not set
-# __NR_msgrcv is not set
-# __NR_msgsnd is not set
-# __NR_semctl is not set
-# __NR_semget is not set
+__NR_msgctl = 402
+__NR_msgget = 399
+__NR_msgrcv = 401
+__NR_msgsnd = 400
+__NR_semctl = 394
+__NR_semget = 393
# __NR_semop is not set
# __NR_semtimedop is not set
-# __NR_shmat is not set
-# __NR_shmctl is not set
-# __NR_shmdt is not set
-# __NR_shmget is not set
+__NR_shmat = 397
+__NR_shmctl = 396
+__NR_shmdt = 398
+__NR_shmget = 395
diff --git a/sys/linux/ipc_ppc64le.const b/sys/linux/ipc_ppc64le.const
index 5de4bb805..813231669 100644
--- a/sys/linux/ipc_ppc64le.const
+++ b/sys/linux/ipc_ppc64le.const
@@ -41,15 +41,15 @@ S_IWUSR = 128
S_IXGRP = 8
S_IXOTH = 1
S_IXUSR = 64
-# __NR_msgctl is not set
-# __NR_msgget is not set
-# __NR_msgrcv is not set
-# __NR_msgsnd is not set
-# __NR_semctl is not set
-# __NR_semget is not set
+__NR_msgctl = 402
+__NR_msgget = 399
+__NR_msgrcv = 401
+__NR_msgsnd = 400
+__NR_semctl = 394
+__NR_semget = 393
# __NR_semop is not set
-# __NR_semtimedop is not set
-# __NR_shmat is not set
-# __NR_shmctl is not set
-# __NR_shmdt is not set
-# __NR_shmget is not set
+__NR_semtimedop = 392
+__NR_shmat = 397
+__NR_shmctl = 396
+__NR_shmdt = 398
+__NR_shmget = 395
diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt
index 23cad3469..3038fc206 100644
--- a/sys/linux/socket.txt
+++ b/sys/linux/socket.txt
@@ -175,8 +175,8 @@ setsockopt$sock_cred(fd sock, level const[SOL_SOCKET], optname const[SO_PEERCRED
getsockopt$sock_timeval(fd sock, level const[SOL_SOCKET], optname flags[sockopt_opt_sock_timeval], optval ptr[out, timeval], optlen ptr[inout, len[optval, int32]])
setsockopt$sock_timeval(fd sock, level const[SOL_SOCKET], optname flags[sockopt_opt_sock_timeval], optval ptr[in, timeval], optlen len[optval])
setsockopt$sock_attach_bpf(fd sock, level const[SOL_SOCKET], optname const[SO_ATTACH_BPF], optval ptr[in, fd_bpf_prog], optlen len[optval])
-setsockopt$SO_TIMESTAMPING(fd sock, level const[SOL_SOCKET], optname const[SO_TIMESTAMPING], optval ptr[in, flags[sockopt_so_timestamping, int32]], optlen len[optval])
-getsockopt$SO_TIMESTAMPING(fd sock, level const[SOL_SOCKET], optname const[SO_TIMESTAMPING], optval ptr[out, int32], optlen ptr[inout, len[optval, int32]])
+setsockopt$SO_TIMESTAMPING(fd sock, level const[SOL_SOCKET], optname const[SO_TIMESTAMPING_OLD], optval ptr[in, flags[sockopt_so_timestamping, int32]], optlen len[optval])
+getsockopt$SO_TIMESTAMPING(fd sock, level const[SOL_SOCKET], optname const[SO_TIMESTAMPING_OLD], optval ptr[out, int32], optlen ptr[inout, len[optval, int32]])
setsockopt$SO_ATTACH_FILTER(fd sock, level const[SOL_SOCKET], optname const[SO_ATTACH_FILTER], optval ptr[in, sock_fprog], optlen len[optval])
setsockopt$SO_BINDTODEVICE(fd sock, level const[SOL_SOCKET], optname const[SO_BINDTODEVICE], optval ptr[in, devname], optlen len[optval])
getsockopt$SO_BINDTODEVICE(fd sock, level const[SOL_SOCKET], optname const[SO_BINDTODEVICE], optval ptr[out, devname], optlen len[optval])
@@ -189,8 +189,8 @@ linger {
}
sockopt_opt_sock_void = SO_DETACH_FILTER, SO_MARK
-sockopt_opt_sock_int = SO_ACCEPTCONN, SO_BROADCAST, SO_DEBUG, SO_DOMAIN, SO_ERROR, SO_DONTROUTE, SO_KEEPALIVE, SO_PEEK_OFF, SO_PRIORITY, SO_PROTOCOL, SO_RCVBUF, SO_RCVBUFFORCE, SO_RCVLOWAT, SO_SNDLOWAT, SO_REUSEADDR, SO_SNDBUF, SO_SNDBUFFORCE, SO_TIMESTAMP, SO_TYPE, SO_REUSEPORT, SO_OOBINLINE, SO_NO_CHECK, SO_PASSCRED, SO_TIMESTAMPNS, SO_LOCK_FILTER, SO_PASSSEC, SO_RXQ_OVFL, SO_WIFI_STATUS, SO_NOFCS, SO_SELECT_ERR_QUEUE, SO_BUSY_POLL, SO_MAX_PACING_RATE, SO_ZEROCOPY
-sockopt_opt_sock_timeval = SO_RCVTIMEO, SO_SNDTIMEO
+sockopt_opt_sock_int = SO_ACCEPTCONN, SO_BROADCAST, SO_DEBUG, SO_DOMAIN, SO_ERROR, SO_DONTROUTE, SO_KEEPALIVE, SO_PEEK_OFF, SO_PRIORITY, SO_PROTOCOL, SO_RCVBUF, SO_RCVBUFFORCE, SO_RCVLOWAT, SO_SNDLOWAT, SO_REUSEADDR, SO_SNDBUF, SO_SNDBUFFORCE, SO_TIMESTAMP_OLD, SO_TYPE, SO_REUSEPORT, SO_OOBINLINE, SO_NO_CHECK, SO_PASSCRED, SO_TIMESTAMPNS_OLD, SO_LOCK_FILTER, SO_PASSSEC, SO_RXQ_OVFL, SO_WIFI_STATUS, SO_NOFCS, SO_SELECT_ERR_QUEUE, SO_BUSY_POLL, SO_MAX_PACING_RATE, SO_ZEROCOPY
+sockopt_opt_sock_timeval = SO_RCVTIMEO_OLD, SO_SNDTIMEO_OLD
sockopt_opt_sock_buf = SO_PEERNAME, SO_PEERSEC, SO_GET_FILTER, SO_MEMINFO, SO_PEERGROUPS, SO_TXTIME
sockopt_so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE, SOF_TIMESTAMPING_TX_SOFTWARE, SOF_TIMESTAMPING_RX_HARDWARE, SOF_TIMESTAMPING_RX_SOFTWARE, SOF_TIMESTAMPING_SOFTWARE, SOF_TIMESTAMPING_SYS_HARDWARE, SOF_TIMESTAMPING_RAW_HARDWARE, SOF_TIMESTAMPING_OPT_ID, SOF_TIMESTAMPING_TX_SCHED, SOF_TIMESTAMPING_TX_ACK, SOF_TIMESTAMPING_OPT_CMSG, SOF_TIMESTAMPING_OPT_TSONLY
diff --git a/sys/linux/socket_386.const b/sys/linux/socket_386.const
index 1ed4b4b8d..b0f6aee81 100644
--- a/sys/linux/socket_386.const
+++ b/sys/linux/socket_386.const
@@ -311,7 +311,7 @@ SO_PROTOCOL = 38
SO_RCVBUF = 8
SO_RCVBUFFORCE = 33
SO_RCVLOWAT = 18
-SO_RCVTIMEO = 20
+SO_RCVTIMEO_OLD = 20
SO_REUSEADDR = 2
SO_REUSEPORT = 15
SO_RXQ_OVFL = 40
@@ -319,10 +319,10 @@ SO_SELECT_ERR_QUEUE = 45
SO_SNDBUF = 7
SO_SNDBUFFORCE = 32
SO_SNDLOWAT = 19
-SO_SNDTIMEO = 21
-SO_TIMESTAMP = 29
-SO_TIMESTAMPING = 37
-SO_TIMESTAMPNS = 35
+SO_SNDTIMEO_OLD = 21
+SO_TIMESTAMPING_OLD = 37
+SO_TIMESTAMPNS_OLD = 35
+SO_TIMESTAMP_OLD = 29
SO_TXTIME = 61
SO_TYPE = 3
SO_WIFI_STATUS = 41
diff --git a/sys/linux/socket_amd64.const b/sys/linux/socket_amd64.const
index 07bfbc6b9..88c43f126 100644
--- a/sys/linux/socket_amd64.const
+++ b/sys/linux/socket_amd64.const
@@ -311,7 +311,7 @@ SO_PROTOCOL = 38
SO_RCVBUF = 8
SO_RCVBUFFORCE = 33
SO_RCVLOWAT = 18
-SO_RCVTIMEO = 20
+SO_RCVTIMEO_OLD = 20
SO_REUSEADDR = 2
SO_REUSEPORT = 15
SO_RXQ_OVFL = 40
@@ -319,10 +319,10 @@ SO_SELECT_ERR_QUEUE = 45
SO_SNDBUF = 7
SO_SNDBUFFORCE = 32
SO_SNDLOWAT = 19
-SO_SNDTIMEO = 21
-SO_TIMESTAMP = 29
-SO_TIMESTAMPING = 37
-SO_TIMESTAMPNS = 35
+SO_SNDTIMEO_OLD = 21
+SO_TIMESTAMPING_OLD = 37
+SO_TIMESTAMPNS_OLD = 35
+SO_TIMESTAMP_OLD = 29
SO_TXTIME = 61
SO_TYPE = 3
SO_WIFI_STATUS = 41
diff --git a/sys/linux/socket_arm.const b/sys/linux/socket_arm.const
index 88c3991fd..02c27cb12 100644
--- a/sys/linux/socket_arm.const
+++ b/sys/linux/socket_arm.const
@@ -311,7 +311,7 @@ SO_PROTOCOL = 38
SO_RCVBUF = 8
SO_RCVBUFFORCE = 33
SO_RCVLOWAT = 18
-SO_RCVTIMEO = 20
+SO_RCVTIMEO_OLD = 20
SO_REUSEADDR = 2
SO_REUSEPORT = 15
SO_RXQ_OVFL = 40
@@ -319,10 +319,10 @@ SO_SELECT_ERR_QUEUE = 45
SO_SNDBUF = 7
SO_SNDBUFFORCE = 32
SO_SNDLOWAT = 19
-SO_SNDTIMEO = 21
-SO_TIMESTAMP = 29
-SO_TIMESTAMPING = 37
-SO_TIMESTAMPNS = 35
+SO_SNDTIMEO_OLD = 21
+SO_TIMESTAMPING_OLD = 37
+SO_TIMESTAMPNS_OLD = 35
+SO_TIMESTAMP_OLD = 29
SO_TXTIME = 61
SO_TYPE = 3
SO_WIFI_STATUS = 41
diff --git a/sys/linux/socket_arm64.const b/sys/linux/socket_arm64.const
index 58dd67d3f..69dc8e754 100644
--- a/sys/linux/socket_arm64.const
+++ b/sys/linux/socket_arm64.const
@@ -311,7 +311,7 @@ SO_PROTOCOL = 38
SO_RCVBUF = 8
SO_RCVBUFFORCE = 33
SO_RCVLOWAT = 18
-SO_RCVTIMEO = 20
+SO_RCVTIMEO_OLD = 20
SO_REUSEADDR = 2
SO_REUSEPORT = 15
SO_RXQ_OVFL = 40
@@ -319,10 +319,10 @@ SO_SELECT_ERR_QUEUE = 45
SO_SNDBUF = 7
SO_SNDBUFFORCE = 32
SO_SNDLOWAT = 19
-SO_SNDTIMEO = 21
-SO_TIMESTAMP = 29
-SO_TIMESTAMPING = 37
-SO_TIMESTAMPNS = 35
+SO_SNDTIMEO_OLD = 21
+SO_TIMESTAMPING_OLD = 37
+SO_TIMESTAMPNS_OLD = 35
+SO_TIMESTAMP_OLD = 29
SO_TXTIME = 61
SO_TYPE = 3
SO_WIFI_STATUS = 41
diff --git a/sys/linux/socket_ppc64le.const b/sys/linux/socket_ppc64le.const
index 79566512f..2df061b60 100644
--- a/sys/linux/socket_ppc64le.const
+++ b/sys/linux/socket_ppc64le.const
@@ -311,7 +311,7 @@ SO_PROTOCOL = 38
SO_RCVBUF = 8
SO_RCVBUFFORCE = 33
SO_RCVLOWAT = 16
-SO_RCVTIMEO = 18
+SO_RCVTIMEO_OLD = 18
SO_REUSEADDR = 2
SO_REUSEPORT = 15
SO_RXQ_OVFL = 40
@@ -319,10 +319,10 @@ SO_SELECT_ERR_QUEUE = 45
SO_SNDBUF = 7
SO_SNDBUFFORCE = 32
SO_SNDLOWAT = 17
-SO_SNDTIMEO = 19
-SO_TIMESTAMP = 29
-SO_TIMESTAMPING = 37
-SO_TIMESTAMPNS = 35
+SO_SNDTIMEO_OLD = 19
+SO_TIMESTAMPING_OLD = 37
+SO_TIMESTAMPNS_OLD = 35
+SO_TIMESTAMP_OLD = 29
SO_TXTIME = 61
SO_TYPE = 3
SO_WIFI_STATUS = 41
diff --git a/sys/linux/sys_arm.const b/sys/linux/sys_arm.const
index 22e06d571..cf9eab86a 100644
--- a/sys/linux/sys_arm.const
+++ b/sys/linux/sys_arm.const
@@ -625,7 +625,7 @@ __NR_madvise = 220
__NR_mbind = 319
__NR_membarrier = 389
__NR_memfd_create = 385
-# __NR_migrate_pages is not set
+__NR_migrate_pages = 400
__NR_mincore = 219
__NR_mkdir = 39
__NR_mkdirat = 323