aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--executor/defs.h20
-rw-r--r--pkg/compiler/compiler_test.go2
-rw-r--r--pkg/compiler/testdata/errors2.txt3
-rw-r--r--pkg/compiler/types.go47
-rw-r--r--prog/mutation_test.go8
-rw-r--r--sys/linux/dev_kvm.txt2
-rw-r--r--sys/linux/gen/386.go21
-rw-r--r--sys/linux/gen/amd64.go21
-rw-r--r--sys/linux/gen/arm.go21
-rw-r--r--sys/linux/gen/arm64.go19
-rw-r--r--sys/linux/gen/mips64le.go19
-rw-r--r--sys/linux/gen/ppc64le.go21
-rw-r--r--sys/linux/mptcp.txt5
-rw-r--r--sys/linux/netfilter.txt6
-rw-r--r--sys/linux/socket_netlink_route.txt3
-rw-r--r--sys/linux/socket_packet.txt8
-rw-r--r--sys/test/gen/32_fork_shmem.go6
-rw-r--r--sys/test/gen/32_shmem.go6
-rw-r--r--sys/test/gen/64.go6
-rw-r--r--sys/test/gen/64_fork.go6
-rw-r--r--sys/test/test.txt4
21 files changed, 137 insertions, 117 deletions
diff --git a/executor/defs.h b/executor/defs.h
index 75460879d..cd2025894 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -70,7 +70,7 @@
#if GOARCH_386
#define GOARCH "386"
-#define SYZ_REVISION "7b2ff21add1b93e31ac4f6c8366cc01f609c8273"
+#define SYZ_REVISION "3e11e082d244cd0a541b74f364178ddba58f761d"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -80,7 +80,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "a29ff0c81a5e44bc22f432944a60e6b6c53e738f"
+#define SYZ_REVISION "23cf7cfbfb32ba400830bdf394c116930682f977"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -90,7 +90,7 @@
#if GOARCH_arm
#define GOARCH "arm"
-#define SYZ_REVISION "2c0ba19495146d9f937a05c4b028b32deccfa93f"
+#define SYZ_REVISION "32b36ea943d76f76b867acf3785f29786bb44137"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -100,7 +100,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
-#define SYZ_REVISION "5f681c09be55c552ff1d317a4eeebc050f14ed4c"
+#define SYZ_REVISION "1c50b5f40904f5c04c6c1c3f459f86d5068d2218"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -110,7 +110,7 @@
#if GOARCH_mips64le
#define GOARCH "mips64le"
-#define SYZ_REVISION "d90e31b62b1912bc315e730477cf324ce5f9565f"
+#define SYZ_REVISION "c8af4ee3a8ef58e79e602504787d2d8dae941974"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -120,7 +120,7 @@
#if GOARCH_ppc64le
#define GOARCH "ppc64le"
-#define SYZ_REVISION "3a06326e1ca228e41b89b33630b25cd7451503ea"
+#define SYZ_REVISION "e9194fbf5f01847344cdb380692e284ab7cb6f42"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -165,7 +165,7 @@
#if GOARCH_32_fork_shmem
#define GOARCH "32_fork_shmem"
-#define SYZ_REVISION "1fba2cda053fcdf6511d4db184743d65230f9315"
+#define SYZ_REVISION "42febc260062ff9c4c73371e46dcc2ade4e32b36"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -175,7 +175,7 @@
#if GOARCH_32_shmem
#define GOARCH "32_shmem"
-#define SYZ_REVISION "003da4faad511684b515852654ae48b0f61c7e05"
+#define SYZ_REVISION "ce7401e2afc658220944c84887758eb703c23b7c"
#define SYZ_EXECUTOR_USES_FORK_SERVER 0
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 8192
@@ -185,7 +185,7 @@
#if GOARCH_64
#define GOARCH "64"
-#define SYZ_REVISION "78250fee4c7d10cc2980a171ea9a5eabfbc64b69"
+#define SYZ_REVISION "5ebd7e76e815125be242b5a31d8ab9a335aab451"
#define SYZ_EXECUTOR_USES_FORK_SERVER 0
#define SYZ_EXECUTOR_USES_SHMEM 0
#define SYZ_PAGE_SIZE 4096
@@ -195,7 +195,7 @@
#if GOARCH_64_fork
#define GOARCH "64_fork"
-#define SYZ_REVISION "00445cbd8f546cf0230ccadd7db782648cffcba5"
+#define SYZ_REVISION "4c2768ec4faaf99b5ed9e013acab8304244e4262"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 0
#define SYZ_PAGE_SIZE 8192
diff --git a/pkg/compiler/compiler_test.go b/pkg/compiler/compiler_test.go
index a58e3be5f..ae3b3d357 100644
--- a/pkg/compiler/compiler_test.go
+++ b/pkg/compiler/compiler_test.go
@@ -92,6 +92,8 @@ func TestData(t *testing.T) {
"C0": 0,
"C1": 1,
"C2": 2,
+ "U8_MAX": 0xff,
+ "U16_MAX": 0xffff,
}
FabricateSyscallConsts(target, constInfo, consts)
delete(consts, "SYS_unsupported")
diff --git a/pkg/compiler/testdata/errors2.txt b/pkg/compiler/testdata/errors2.txt
index 4ec52d6cb..b862c4951 100644
--- a/pkg/compiler/testdata/errors2.txt
+++ b/pkg/compiler/testdata/errors2.txt
@@ -274,6 +274,9 @@ foo$530(a ptr[in, const[0x1ab, int8]]) ### const val 0x1ab does not fit into 8 b
foo$531(a ptr[in, const[0xffffffffffffffab, int8]])
foo$532(a ptr[in, const[0x7234567812345678, int64]])
foo$533(a ptr[in, const[0x12, int8:4]]) ### const val 0x12 does not fit into 4 bits
+foo$534(a ptr[in, flags[large_flags, int8]]) ### large_flags U16_MAX=0xffff doesn't fit into 8 bits
+
+large_flags = U8_MAX, U16_MAX
type type500 proc[C1, 8, int8] ### values starting from 1 with step 8 overflow base type for 32 procs
type type501 int8 ### unused type type501
diff --git a/pkg/compiler/types.go b/pkg/compiler/types.go
index 0c05c82fa..968b8fbc3 100644
--- a/pkg/compiler/types.go
+++ b/pkg/compiler/types.go
@@ -290,21 +290,9 @@ var typeConst = &typeDesc{
NeedBase: true,
Args: []namedArg{{Name: "value", Type: typeArgInt}},
CheckConsts: func(comp *compiler, t *ast.Type, args []*ast.Type, base prog.IntTypeCommon) {
- size := base.BitfieldLen
- if size == 0 {
- size = base.TypeSize * 8
- }
- if size == 64 {
- return
- }
- v0 := args[0].Value
- mask := uint64(1)<<size - 1
- v := v0 & mask
- if int64(v<<(64-size)) < 0 && int64(v0) < 0 {
- v |= ^mask
- }
- if v0 != v {
- comp.error(args[0].Pos, "const val 0x%x does not fit into %v bits", v0, size)
+ v := args[0].Value
+ if constOverflowsBase(v, base) {
+ comp.error(args[0].Pos, "const val 0x%x does not fit into %v bits", v, base.TypeBitSize())
}
},
Gen: func(comp *compiler, t *ast.Type, args []*ast.Type, base prog.IntTypeCommon) prog.Type {
@@ -315,6 +303,19 @@ var typeConst = &typeDesc{
},
}
+func constOverflowsBase(v uint64, base prog.IntTypeCommon) bool {
+ size := base.TypeBitSize()
+ if size == 64 {
+ return false
+ }
+ mask := uint64(1)<<size - 1
+ v1 := v & mask
+ if int64(v1<<(64-size)) < 0 && int64(v) < 0 {
+ v1 |= ^mask
+ }
+ return v1 != v
+}
+
var typeArgLenTarget = &typeArg{
Kind: kindIdent,
MaxColon: 10,
@@ -327,6 +328,22 @@ var typeFlags = &typeDesc{
CantBeOpt: true,
NeedBase: true,
Args: []namedArg{{Name: "flags", Type: typeArgFlags}},
+ CheckConsts: func(comp *compiler, t *ast.Type, args []*ast.Type, base prog.IntTypeCommon) {
+ name := args[0].Ident
+ if name == "xdp_mmap_offsets" && comp.ptrSize == 4 {
+ // TODO(dvyukov): this sucks a lot. It seems that out 32-bit mmap is wrong.
+ // The syscall accepts number of pages as int32, but we pass offset in bytes.
+ // As the result large XDP consts don't fit into the arg.
+ return
+ }
+ f := comp.intFlags[name]
+ for _, val := range f.Values {
+ if constOverflowsBase(val.Value, base) {
+ comp.error(args[0].Pos, "%v %v=0x%x doesn't fit into %v bits",
+ name, val.Ident, val.Value, base.TypeBitSize())
+ }
+ }
+ },
Gen: func(comp *compiler, t *ast.Type, args []*ast.Type, base prog.IntTypeCommon) prog.Type {
name := args[0].Ident
base.TypeName = name
diff --git a/prog/mutation_test.go b/prog/mutation_test.go
index d4d3f6586..7708a286f 100644
--- a/prog/mutation_test.go
+++ b/prog/mutation_test.go
@@ -26,11 +26,11 @@ func TestMutationFlags(t *testing.T) {
// Mutate flags (bitmask = false).
{
`r0 = mutate_flags3(&(0x7f0000000000)="2e2f66696c653000", 0x0)`,
- `r0 = mutate_flags3(&(0x7f0000000000)="2e2f66696c653000", 0xddddddddeeeeeeee)`,
+ `r0 = mutate_flags3(&(0x7f0000000000)="2e2f66696c653000", 0xddddeeee)`,
},
{
- `r0 = mutate_flags3(&(0x7f0000000000)="2e2f66696c653000", 0xddddddddeeeeeeee)`,
- `r0 = mutate_flags3(&(0x7f0000000000)="2e2f66696c653000", 0xaaaaaaaaaaaaaaaa)`,
+ `r0 = mutate_flags3(&(0x7f0000000000)="2e2f66696c653000", 0xddddeeee)`,
+ `r0 = mutate_flags3(&(0x7f0000000000)="2e2f66696c653000", 0xaaaaaaaa)`,
},
}
runMutationTests(t, tests, true)
@@ -300,7 +300,7 @@ mutate0()
mutate6(r0, &(0x7f0000000000)="00", 0x1)
mutate1()
`, `
-r0 = mutate5(&(0x7f0000000000)="2e2f66696c653000", 0xcdcdcdcdcdcdcdcd)
+r0 = mutate5(&(0x7f0000000000)="2e2f66696c653000", 0xcdcdcdcd)
mutate0()
mutate6(r0, &(0x7f0000000000)="00", 0x1)
mutate1()
diff --git a/sys/linux/dev_kvm.txt b/sys/linux/dev_kvm.txt
index eba775bd0..7b67c9d5d 100644
--- a/sys/linux/dev_kvm.txt
+++ b/sys/linux/dev_kvm.txt
@@ -654,7 +654,7 @@ kvm_segment {
kvm_dtable {
base flags[kvm_guest_addrs, int64]
- limit flags[kvm_guest_addrs, int16]
+ limit int16
pad array[const[0, int16], 3]
}
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index 3825f9735..fc91da95e 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -9249,14 +9249,14 @@ var structDescs_386 = []*KeyedStruct{
{StructKey{Name: "ifaddrmsg[AF_INET6]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
{StructKey{Name: "ifaddrmsg[AF_INET]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
@@ -13202,12 +13202,12 @@ var structDescs_386 = []*KeyedStruct{
}}},
{StructKey{Name: "kvm_dtable"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2}}}, 1, 3, 3},
}}},
{StructKey{"kvm_dtable", 1}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2, ArgDir: 1}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6, ArgDir: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 1}}}, 1, 3, 3},
}}},
{StructKey{Name: "kvm_enable_cap_cpu"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_enable_cap_cpu", TypeSize: 104}, Fields: []Type{
@@ -14614,7 +14614,7 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "receiver", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", TypeSize: 8}, ArgFormat: 1}}, Kind: 1, RangeEnd: 1},
}}},
{StructKey{Name: "mptcp_generic_option"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "mptcp_generic_option", IsVarlen: true}, Fields: []Type{
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}, []uint64{1, 2, 4, 8, 32, 64, 128, 256}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}, []uint64{1, 2, 4, 8, 32, 64, 128}, true},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Path: []string{"parent"}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 16},
}}},
@@ -37212,9 +37212,8 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wqid", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "p9_qid"}}},
}}},
{StructKey{Name: "packet_fanout_val"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_flags", FldName: "flags", TypeSize: 1}}, []uint64{4096, 8192, 32768}, true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}, Kind: 1, RangeEnd: 4},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 4096, 8192, 32768}},
}}},
{StructKey{Name: "packet_mreq"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_mreq", TypeSize: 16}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", TypeSize: 4}},
@@ -47610,8 +47609,8 @@ var structDescs_386 = []*KeyedStruct{
}}},
{StructKey{Name: "xt_conntrack_mtinfo1"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo1", TypeSize: 152}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128, 256}, true},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state8", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status8", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
}, 4}},
{StructKey{Name: "xt_conntrack_mtinfo2"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo2", TypeSize: 156}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
@@ -77592,4 +77591,4 @@ var consts_386 = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_386 = "7b2ff21add1b93e31ac4f6c8366cc01f609c8273"
+const revision_386 = "3e11e082d244cd0a541b74f364178ddba58f761d"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index c49a5e56f..c5f1cbabc 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -9395,14 +9395,14 @@ var structDescs_amd64 = []*KeyedStruct{
{StructKey{Name: "ifaddrmsg[AF_INET6]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
{StructKey{Name: "ifaddrmsg[AF_INET]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
@@ -13366,12 +13366,12 @@ var structDescs_amd64 = []*KeyedStruct{
}}},
{StructKey{Name: "kvm_dtable"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2}}}, 1, 3, 3},
}}},
{StructKey{"kvm_dtable", 1}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2, ArgDir: 1}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6, ArgDir: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 1}}}, 1, 3, 3},
}}},
{StructKey{Name: "kvm_enable_cap_cpu"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_enable_cap_cpu", TypeSize: 104}, Fields: []Type{
@@ -14787,7 +14787,7 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "receiver", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", TypeSize: 8}, ArgFormat: 1}}, Kind: 1, RangeEnd: 1},
}}},
{StructKey{Name: "mptcp_generic_option"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "mptcp_generic_option", IsVarlen: true}, Fields: []Type{
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}, []uint64{1, 2, 4, 8, 32, 64, 128, 256}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}, []uint64{1, 2, 4, 8, 32, 64, 128}, true},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Path: []string{"parent"}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 16},
}}},
@@ -37968,9 +37968,8 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wqid", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "p9_qid"}}},
}}},
{StructKey{Name: "packet_fanout_val"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_flags", FldName: "flags", TypeSize: 1}}, []uint64{4096, 8192, 32768}, true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}, Kind: 1, RangeEnd: 4},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 4096, 8192, 32768}},
}}},
{StructKey{Name: "packet_mreq"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_mreq", TypeSize: 16}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", TypeSize: 4}},
@@ -48486,8 +48485,8 @@ var structDescs_amd64 = []*KeyedStruct{
}}},
{StructKey{Name: "xt_conntrack_mtinfo1"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo1", TypeSize: 152}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128, 256}, true},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state8", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status8", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
}, 4}},
{StructKey{Name: "xt_conntrack_mtinfo2"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo2", TypeSize: 156}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
@@ -78632,4 +78631,4 @@ var consts_amd64 = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_amd64 = "a29ff0c81a5e44bc22f432944a60e6b6c53e738f"
+const revision_amd64 = "23cf7cfbfb32ba400830bdf394c116930682f977"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 44b115c25..74128a38d 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -9286,14 +9286,14 @@ var structDescs_arm = []*KeyedStruct{
{StructKey{Name: "ifaddrmsg[AF_INET6]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
{StructKey{Name: "ifaddrmsg[AF_INET]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
@@ -13192,12 +13192,12 @@ var structDescs_arm = []*KeyedStruct{
}}},
{StructKey{Name: "kvm_dtable"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2}}}, 1, 3, 3},
}}},
{StructKey{"kvm_dtable", 1}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2, ArgDir: 1}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6, ArgDir: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 1}}}, 1, 3, 3},
}}},
{StructKey{Name: "kvm_enable_cap_cpu"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_enable_cap_cpu", TypeSize: 104}, Fields: []Type{
@@ -14475,7 +14475,7 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "receiver", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", TypeSize: 8}, ArgFormat: 1}}, Kind: 1, RangeEnd: 1},
}}},
{StructKey{Name: "mptcp_generic_option"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "mptcp_generic_option", IsVarlen: true}, Fields: []Type{
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}, []uint64{1, 2, 4, 8, 32, 64, 128, 256}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}, []uint64{1, 2, 4, 8, 32, 64, 128}, true},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Path: []string{"parent"}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 16},
}}},
@@ -37074,9 +37074,8 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wqid", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "p9_qid"}}},
}}},
{StructKey{Name: "packet_fanout_val"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_flags", FldName: "flags", TypeSize: 1}}, []uint64{4096, 8192, 32768}, true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}, Kind: 1, RangeEnd: 4},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 4096, 8192, 32768}},
}}},
{StructKey{Name: "packet_mreq"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_mreq", TypeSize: 16}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", TypeSize: 4}},
@@ -47487,8 +47486,8 @@ var structDescs_arm = []*KeyedStruct{
}}},
{StructKey{Name: "xt_conntrack_mtinfo1"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo1", TypeSize: 152}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128, 256}, true},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state8", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status8", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
}, 4}},
{StructKey{Name: "xt_conntrack_mtinfo2"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo2", TypeSize: 156}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
@@ -77244,4 +77243,4 @@ var consts_arm = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_arm = "2c0ba19495146d9f937a05c4b028b32deccfa93f"
+const revision_arm = "32b36ea943d76f76b867acf3785f29786bb44137"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 05707f014..6fa1cbf3d 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -9395,14 +9395,14 @@ var structDescs_arm64 = []*KeyedStruct{
{StructKey{Name: "ifaddrmsg[AF_INET6]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
{StructKey{Name: "ifaddrmsg[AF_INET]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
@@ -13309,12 +13309,12 @@ var structDescs_arm64 = []*KeyedStruct{
}}},
{StructKey{Name: "kvm_dtable"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2}}}, 1, 3, 3},
}}},
{StructKey{"kvm_dtable", 1}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2, ArgDir: 1}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6, ArgDir: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 1}}}, 1, 3, 3},
}}},
{StructKey{Name: "kvm_enable_cap_cpu"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_enable_cap_cpu", TypeSize: 104}, Fields: []Type{
@@ -37777,9 +37777,8 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wqid", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "p9_qid"}}},
}}},
{StructKey{Name: "packet_fanout_val"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_flags", FldName: "flags", TypeSize: 1}}, []uint64{4096, 8192, 32768}, true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}, Kind: 1, RangeEnd: 4},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 4096, 8192, 32768}},
}}},
{StructKey{Name: "packet_mreq"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_mreq", TypeSize: 16}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", TypeSize: 4}},
@@ -48270,8 +48269,8 @@ var structDescs_arm64 = []*KeyedStruct{
}}},
{StructKey{Name: "xt_conntrack_mtinfo1"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo1", TypeSize: 152}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128, 256}, true},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state8", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status8", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
}, 4}},
{StructKey{Name: "xt_conntrack_mtinfo2"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo2", TypeSize: 156}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
@@ -77977,4 +77976,4 @@ var consts_arm64 = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_arm64 = "5f681c09be55c552ff1d317a4eeebc050f14ed4c"
+const revision_arm64 = "1c50b5f40904f5c04c6c1c3f459f86d5068d2218"
diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go
index f9e72ffae..e9d094194 100644
--- a/sys/linux/gen/mips64le.go
+++ b/sys/linux/gen/mips64le.go
@@ -9392,14 +9392,14 @@ var structDescs_mips64le = []*KeyedStruct{
{StructKey{Name: "ifaddrmsg[AF_INET6]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
{StructKey{Name: "ifaddrmsg[AF_INET]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
@@ -13306,12 +13306,12 @@ var structDescs_mips64le = []*KeyedStruct{
}}},
{StructKey{Name: "kvm_dtable"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2}}}, 1, 3, 3},
}}},
{StructKey{"kvm_dtable", 1}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2, ArgDir: 1}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6, ArgDir: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 1}}}, 1, 3, 3},
}}},
{StructKey{Name: "kvm_enable_cap_cpu"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_enable_cap_cpu", TypeSize: 104}, Fields: []Type{
@@ -37721,9 +37721,8 @@ var structDescs_mips64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wqid", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "p9_qid"}}},
}}},
{StructKey{Name: "packet_fanout_val"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_flags", FldName: "flags", TypeSize: 1}}, []uint64{4096, 8192, 32768}, true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}, Kind: 1, RangeEnd: 4},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 4096, 8192, 32768}},
}}},
{StructKey{Name: "packet_mreq"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_mreq", TypeSize: 16}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", TypeSize: 4}},
@@ -47360,8 +47359,8 @@ var structDescs_mips64le = []*KeyedStruct{
}}},
{StructKey{Name: "xt_conntrack_mtinfo1"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo1", TypeSize: 152}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128, 256}, true},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state8", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status8", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
}, 4}},
{StructKey{Name: "xt_conntrack_mtinfo2"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo2", TypeSize: 156}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
@@ -75638,4 +75637,4 @@ var consts_mips64le = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_mips64le = "d90e31b62b1912bc315e730477cf324ce5f9565f"
+const revision_mips64le = "c8af4ee3a8ef58e79e602504787d2d8dae941974"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index d65cce9e0..3dfe0603d 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -9394,14 +9394,14 @@ var structDescs_ppc64le = []*KeyedStruct{
{StructKey{Name: "ifaddrmsg[AF_INET6]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET6]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
{StructKey{Name: "ifaddrmsg[AF_INET]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ifaddrmsg[AF_INET]", TypeSize: 8}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ifa_family", TypeSize: 1}}, Val: 2},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_prefixlen", FldName: "ifa_prefixlen", TypeSize: 1}}, Vals: []uint64{0, 1, 8, 16, 24, 31, 32, 56, 63, 64, 120, 128}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifa_flags8", FldName: "ifa_flags", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rt_scope_t", FldName: "ifa_scope", TypeSize: 1}}, Vals: []uint64{0, 200, 253, 254, 255}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "ifa_index", TypeSize: 4}},
}}},
@@ -13308,12 +13308,12 @@ var structDescs_ppc64le = []*KeyedStruct{
}}},
{StructKey{Name: "kvm_dtable"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2}}}, 1, 3, 3},
}}},
{StructKey{"kvm_dtable", 1}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_dtable", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "base", TypeSize: 8, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "kvm_guest_addrs", FldName: "limit", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 4, 4096, 8192, 12288, 16384, 20480, 24576, 53248, 61440, 65536, 1048576}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "limit", TypeSize: 2, ArgDir: 1}}},
&ArrayType{TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 6, ArgDir: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 2, ArgDir: 1}}}, 1, 3, 3},
}}},
{StructKey{Name: "kvm_enable_cap_cpu"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "kvm_enable_cap_cpu", TypeSize: 104}, Fields: []Type{
@@ -14542,7 +14542,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "receiver", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", TypeSize: 8}, ArgFormat: 1}}, Kind: 1, RangeEnd: 1},
}}},
{StructKey{Name: "mptcp_generic_option"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "mptcp_generic_option", IsVarlen: true}, Fields: []Type{
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}, []uint64{1, 2, 4, 8, 32, 64, 128, 256}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mptcp_sub_types", FldName: "type", TypeSize: 1}}, []uint64{1, 2, 4, 8, 32, 64, 128}, true},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Path: []string{"parent"}},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 16},
}}},
@@ -37723,9 +37723,8 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wqid", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "p9_qid"}}},
}}},
{StructKey{Name: "packet_fanout_val"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", TypeSize: 4}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_flags", FldName: "flags", TypeSize: 1}}, []uint64{4096, 8192, 32768}, true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", TypeSize: 2}}, Kind: 1, RangeEnd: 4},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_fanout_types", FldName: "type", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 4096, 8192, 32768}},
}}},
{StructKey{Name: "packet_mreq"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "packet_mreq", TypeSize: 16}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", TypeSize: 4}},
@@ -48173,8 +48172,8 @@ var structDescs_ppc64le = []*KeyedStruct{
}}},
{StructKey{Name: "xt_conntrack_mtinfo1"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo1", TypeSize: 152}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128, 256}, true},
- &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_state8", FldName: "state_mask", TypeSize: 1}}, []uint64{1, 64, 128}, true},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xt_conntrack_status8", FldName: "status_mask", TypeSize: 1}}, []uint64{1, 2, 4, 8, 16, 32, 64, 128}, true},
}, 4}},
{StructKey{Name: "xt_conntrack_mtinfo2"}, &StructDesc{TypeCommon{TypeName: "xt_conntrack_mtinfo2", TypeSize: 156}, []Type{
&StructType{Key: StructKey{Name: "xt_conntrack_mtinfo_common"}, FldName: "common"},
@@ -77974,4 +77973,4 @@ var consts_ppc64le = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_ppc64le = "3a06326e1ca228e41b89b33630b25cd7451503ea"
+const revision_ppc64le = "e9194fbf5f01847344cdb380692e284ab7cb6f42"
diff --git a/sys/linux/mptcp.txt b/sys/linux/mptcp.txt
index ad23c907d..637e3624f 100644
--- a/sys/linux/mptcp.txt
+++ b/sys/linux/mptcp.txt
@@ -25,7 +25,10 @@ tcp_mptcp_option [
remove_addr mptcp_remove_addr_option
] [varlen]
-mptcp_sub_types = OPTION_TYPE_SYN, OPTION_TYPE_SYNACK, OPTION_TYPE_ACK, OPTION_MP_CAPABLE, OPTION_ADD_ADDR, OPTION_MP_JOIN, OPTION_MP_FCLOSE, OPTION_REMOVE_ADDR
+mptcp_sub_types = OPTION_TYPE_SYN, OPTION_TYPE_SYNACK, OPTION_TYPE_ACK, OPTION_MP_CAPABLE, OPTION_ADD_ADDR, OPTION_MP_JOIN, OPTION_MP_FCLOSE
+
+# TODO: OPTION_REMOVE_ADDR was listed in mptcp_sub_types, but it does not fit into int8 below...
+_ = OPTION_REMOVE_ADDR
mptcp_generic_option {
type flags[mptcp_sub_types, int8]
diff --git a/sys/linux/netfilter.txt b/sys/linux/netfilter.txt
index f73e69655..35c2bc600 100644
--- a/sys/linux/netfilter.txt
+++ b/sys/linux/netfilter.txt
@@ -316,8 +316,8 @@ xt_conntrack_mtinfo_common {
xt_conntrack_mtinfo1 {
common xt_conntrack_mtinfo_common
- state_mask flags[xt_conntrack_state, int8]
- status_mask flags[xt_conntrack_status, int8]
+ state_mask flags[xt_conntrack_state8, int8]
+ status_mask flags[xt_conntrack_status8, int8]
} [align_4]
xt_conntrack_mtinfo2 {
@@ -337,7 +337,9 @@ xt_conntrack_mtinfo3 {
} [align_4]
xt_conntrack_flags = XT_CONNTRACK_STATE, XT_CONNTRACK_PROTO, XT_CONNTRACK_ORIGSRC, XT_CONNTRACK_ORIGDST, XT_CONNTRACK_REPLSRC, XT_CONNTRACK_REPLDST, XT_CONNTRACK_STATUS, XT_CONNTRACK_EXPIRES, XT_CONNTRACK_ORIGSRC_PORT, XT_CONNTRACK_ORIGDST_PORT, XT_CONNTRACK_REPLSRC_PORT, XT_CONNTRACK_REPLDST_PORT, XT_CONNTRACK_DIRECTION, XT_CONNTRACK_STATE_ALIAS
+xt_conntrack_state8 = XT_CONNTRACK_STATE_INVALID, XT_CONNTRACK_STATE_SNAT, XT_CONNTRACK_STATE_DNAT
xt_conntrack_state = XT_CONNTRACK_STATE_INVALID, XT_CONNTRACK_STATE_SNAT, XT_CONNTRACK_STATE_DNAT, XT_CONNTRACK_STATE_UNTRACKED
+xt_conntrack_status8 = IPS_EXPECTED, IPS_SEEN_REPLY, IPS_ASSURED, IPS_CONFIRMED, IPS_SRC_NAT, IPS_DST_NAT, IPS_SEQ_ADJUST, IPS_SRC_NAT_DONE
xt_conntrack_status = IPS_EXPECTED, IPS_SEEN_REPLY, IPS_ASSURED, IPS_CONFIRMED, IPS_SRC_NAT, IPS_DST_NAT, IPS_SEQ_ADJUST, IPS_SRC_NAT_DONE, IPS_DST_NAT_DONE, IPS_DYING, IPS_FIXED_TIMEOUT, IPS_TEMPLATE, IPS_UNTRACKED, IPS_HELPER
xt_tcp {
diff --git a/sys/linux/socket_netlink_route.txt b/sys/linux/socket_netlink_route.txt
index 3207d556e..1de0c5e57 100644
--- a/sys/linux/socket_netlink_route.txt
+++ b/sys/linux/socket_netlink_route.txt
@@ -113,7 +113,7 @@ type ifinfomsg[FAMILY] {
type ifaddrmsg[FAMILY] {
ifa_family const[FAMILY, int8]
ifa_prefixlen flags[ifa_prefixlen, int8]
- ifa_flags flags[ifa_flags, int8]
+ ifa_flags flags[ifa_flags8, int8]
ifa_scope flags[rt_scope_t, int8]
ifa_index ifindex
}
@@ -920,6 +920,7 @@ cgw_csum_crc8_profile = CGW_CRC8PRF_UNSPEC, CGW_CRC8PRF_1U8, CGW_CRC8PRF_16U8, C
rtnl_af = AF_INET, AF_INET6, AF_BRIDGE, AF_MPLS
net_device_flags = IFF_UP, IFF_BROADCAST, IFF_DEBUG, IFF_LOOPBACK, IFF_POINTOPOINT, IFF_NOTRAILERS, IFF_RUNNING, IFF_NOARP, IFF_PROMISC, IFF_ALLMULTI, IFF_MASTER, IFF_SLAVE, IFF_MULTICAST, IFF_PORTSEL, IFF_AUTOMEDIA, IFF_DYNAMIC, IFF_LOWER_UP, IFF_DORMANT, IFF_ECHO
ifa_flags = IFA_F_SECONDARY, IFA_F_NODAD, IFA_F_OPTIMISTIC, IFA_F_DADFAILED, IFA_F_HOMEADDRESS, IFA_F_DEPRECATED, IFA_F_TENTATIVE, IFA_F_PERMANENT, IFA_F_MANAGETEMPADDR, IFA_F_NOPREFIXROUTE, IFA_F_MCAUTOJOIN
+ifa_flags8 = IFA_F_SECONDARY, IFA_F_NODAD, IFA_F_OPTIMISTIC, IFA_F_DADFAILED, IFA_F_HOMEADDRESS, IFA_F_DEPRECATED, IFA_F_TENTATIVE, IFA_F_PERMANENT
rt_scope_t = RT_SCOPE_UNIVERSE, RT_SCOPE_SITE, RT_SCOPE_LINK, RT_SCOPE_HOST, RT_SCOPE_NOWHERE
rtm_protocol = RTPROT_UNSPEC, RTPROT_REDIRECT, RTPROT_KERNEL, RTPROT_BOOT, RTPROT_STATIC
rtm_type = RTN_UNSPEC, RTN_UNICAST, RTN_LOCAL, RTN_BROADCAST, RTN_ANYCAST, RTN_MULTICAST, RTN_BLACKHOLE, RTN_UNREACHABLE, RTN_PROHIBIT, RTN_THROW, RTN_NAT, RTN_XRESOLVE
diff --git a/sys/linux/socket_packet.txt b/sys/linux/socket_packet.txt
index 7c7ec3f39..44f4eb351 100644
--- a/sys/linux/socket_packet.txt
+++ b/sys/linux/socket_packet.txt
@@ -89,16 +89,14 @@ tpacket_req_u [
setsockopt$packet_rx_ring(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_RX_RING], optval ptr[in, tpacket_req_u], optlen len[optval])
setsockopt$packet_tx_ring(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_TX_RING], optval ptr[in, tpacket_req_u], optlen len[optval])
-packet_fanout_types = PACKET_FANOUT_HASH, PACKET_FANOUT_LB, PACKET_FANOUT_CPU, PACKET_FANOUT_ROLLOVER, PACKET_FANOUT_RND, PACKET_FANOUT_QM, PACKET_FANOUT_CBPF, PACKET_FANOUT_EBPF
-packet_fanout_flags = PACKET_FANOUT_FLAG_ROLLOVER, PACKET_FANOUT_FLAG_DEFRAG, PACKET_FANOUT_FLAG_UNIQUEID
+packet_fanout_types = PACKET_FANOUT_HASH, PACKET_FANOUT_LB, PACKET_FANOUT_CPU, PACKET_FANOUT_ROLLOVER, PACKET_FANOUT_RND, PACKET_FANOUT_QM, PACKET_FANOUT_CBPF, PACKET_FANOUT_EBPF, PACKET_FANOUT_FLAG_ROLLOVER, PACKET_FANOUT_FLAG_DEFRAG, PACKET_FANOUT_FLAG_UNIQUEID
# TODO: Add descriptions
_ = PACKET_MR_MULTICAST, PACKET_MR_PROMISC, PACKET_MR_ALLMULTI, PACKET_MR_UNICAST
packet_fanout_val {
- id int16
- type flags[packet_fanout_types, int8]
- flags flags[packet_fanout_flags, int8]
+ id int16[0:4]
+ type flags[packet_fanout_types, int16]
}
setsockopt$packet_fanout(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_FANOUT], optval ptr[in, packet_fanout_val], optlen len[optval])
diff --git a/sys/test/gen/32_fork_shmem.go b/sys/test/gen/32_fork_shmem.go
index 7c46923ff..907a58ef1 100644
--- a/sys/test/gen/32_fork_shmem.go
+++ b/sys/test/gen/32_fork_shmem.go
@@ -992,7 +992,7 @@ var syscalls_32_fork_shmem = []*Syscall{
}},
{Name: "mutate5", CallName: "mutate5", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{12370169555311111083, 14829735431805717965}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2880154539, 3452816845}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{Name: "mutate6", CallName: "mutate6", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
@@ -1029,7 +1029,7 @@ var syscalls_32_fork_shmem = []*Syscall{
}},
{Name: "mutate_flags3", CallName: "mutate_flags3", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags2", FldName: "flags", TypeSize: 4}}, Vals: []uint64{12297829382473034410, 12297829382759365563, 13527612320720337851, 13527612321006669004, 14757395258967641292, 14757395259253972445, 15987178197214944733, 15987178197501275886, 17216961135462248174, 17216961135748579327, 18446744073709551615}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags2", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2863311530, 2863315899, 3149642683, 3149647052, 3435973836, 3435978205, 3722304989, 3722309358, 4008636142, 4008640511, 4294967295}},
}},
{Name: "mutate_integer", CallName: "mutate_integer", Args: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "b1", TypeSize: 1}}, Kind: 1, RangeEnd: 1},
@@ -1450,4 +1450,4 @@ var consts_32_fork_shmem = []ConstValue{
{Name: "SYS_unsupported"},
}
-const revision_32_fork_shmem = "1fba2cda053fcdf6511d4db184743d65230f9315"
+const revision_32_fork_shmem = "42febc260062ff9c4c73371e46dcc2ade4e32b36"
diff --git a/sys/test/gen/32_shmem.go b/sys/test/gen/32_shmem.go
index 4a890092d..03c356e20 100644
--- a/sys/test/gen/32_shmem.go
+++ b/sys/test/gen/32_shmem.go
@@ -986,7 +986,7 @@ var syscalls_32_shmem = []*Syscall{
}},
{Name: "mutate5", CallName: "mutate5", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{12370169555311111083, 14829735431805717965}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2880154539, 3452816845}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{Name: "mutate6", CallName: "mutate6", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
@@ -1023,7 +1023,7 @@ var syscalls_32_shmem = []*Syscall{
}},
{Name: "mutate_flags3", CallName: "mutate_flags3", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags2", FldName: "flags", TypeSize: 4}}, Vals: []uint64{12297829382473034410, 12297829382759365563, 13527612320720337851, 13527612321006669004, 14757395258967641292, 14757395259253972445, 15987178197214944733, 15987178197501275886, 17216961135462248174, 17216961135748579327, 18446744073709551615}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags2", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2863311530, 2863315899, 3149642683, 3149647052, 3435973836, 3435978205, 3722304989, 3722309358, 4008636142, 4008640511, 4294967295}},
}},
{Name: "mutate_integer", CallName: "mutate_integer", Args: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "b1", TypeSize: 1}}, Kind: 1, RangeEnd: 1},
@@ -1444,4 +1444,4 @@ var consts_32_shmem = []ConstValue{
{Name: "SYS_unsupported"},
}
-const revision_32_shmem = "003da4faad511684b515852654ae48b0f61c7e05"
+const revision_32_shmem = "ce7401e2afc658220944c84887758eb703c23b7c"
diff --git a/sys/test/gen/64.go b/sys/test/gen/64.go
index 801688b5d..51bfcb0b5 100644
--- a/sys/test/gen/64.go
+++ b/sys/test/gen/64.go
@@ -996,7 +996,7 @@ var syscalls_64 = []*Syscall{
}},
{Name: "mutate5", CallName: "mutate5", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{12370169555311111083, 14829735431805717965}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2880154539, 3452816845}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{Name: "mutate6", CallName: "mutate6", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
@@ -1033,7 +1033,7 @@ var syscalls_64 = []*Syscall{
}},
{Name: "mutate_flags3", CallName: "mutate_flags3", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags2", FldName: "flags", TypeSize: 8}}, Vals: []uint64{12297829382473034410, 12297829382759365563, 13527612320720337851, 13527612321006669004, 14757395258967641292, 14757395259253972445, 15987178197214944733, 15987178197501275886, 17216961135462248174, 17216961135748579327, 18446744073709551615}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags2", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2863311530, 2863315899, 3149642683, 3149647052, 3435973836, 3435978205, 3722304989, 3722309358, 4008636142, 4008640511, 4294967295}},
}},
{Name: "mutate_integer", CallName: "mutate_integer", Args: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "b1", TypeSize: 1}}, Kind: 1, RangeEnd: 1},
@@ -1454,4 +1454,4 @@ var consts_64 = []ConstValue{
{Name: "SYS_unsupported"},
}
-const revision_64 = "78250fee4c7d10cc2980a171ea9a5eabfbc64b69"
+const revision_64 = "5ebd7e76e815125be242b5a31d8ab9a335aab451"
diff --git a/sys/test/gen/64_fork.go b/sys/test/gen/64_fork.go
index df00ff36d..8053b1fa4 100644
--- a/sys/test/gen/64_fork.go
+++ b/sys/test/gen/64_fork.go
@@ -993,7 +993,7 @@ var syscalls_64_fork = []*Syscall{
}},
{Name: "mutate5", CallName: "mutate5", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{12370169555311111083, 14829735431805717965}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2880154539, 3452816845}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{Name: "mutate6", CallName: "mutate6", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
@@ -1030,7 +1030,7 @@ var syscalls_64_fork = []*Syscall{
}},
{Name: "mutate_flags3", CallName: "mutate_flags3", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags2", FldName: "flags", TypeSize: 8}}, Vals: []uint64{12297829382473034410, 12297829382759365563, 13527612320720337851, 13527612321006669004, 14757395258967641292, 14757395259253972445, 15987178197214944733, 15987178197501275886, 17216961135462248174, 17216961135748579327, 18446744073709551615}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags2", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2863311530, 2863315899, 3149642683, 3149647052, 3435973836, 3435978205, 3722304989, 3722309358, 4008636142, 4008640511, 4294967295}},
}},
{Name: "mutate_integer", CallName: "mutate_integer", Args: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "b1", TypeSize: 1}}, Kind: 1, RangeEnd: 1},
@@ -1450,4 +1450,4 @@ var consts_64_fork = []ConstValue{
{Name: "SYS_unsupported"},
}
-const revision_64_fork = "00445cbd8f546cf0230ccadd7db782648cffcba5"
+const revision_64_fork = "4c2768ec4faaf99b5ed9e013acab8304244e4262"
diff --git a/sys/test/test.txt b/sys/test/test.txt
index 21ae877e1..7cfbf325e 100644
--- a/sys/test/test.txt
+++ b/sys/test/test.txt
@@ -751,8 +751,8 @@ mutate_union(p ptr[in, syz_union0])
mutate_buffer(p buffer[out])
mutate_rangedbuffer(p ptr[out, array[int8, 5:10]])
-open_flags = 0xabababababababab, 0xcdcdcdcdcdcdcdcd
-open_flags2 = 0xaaaaaaaaaaaaaaaa, 0xaaaaaaaabbbbbbbb, 0xbbbbbbbbbbbbbbbb, 0xbbbbbbbbcccccccc, 0xcccccccccccccccc, 0xccccccccdddddddd, 0xdddddddddddddddd, 0xddddddddeeeeeeee, 0xeeeeeeeeeeeeeeee, 0xeeeeeeeeffffffff, 0xffffffffffffffff
+open_flags = 0xabababab, 0xcdcdcdcd
+open_flags2 = 0xaaaaaaaa, 0xaaaabbbb, 0xbbbbbbbb, 0xbbbbcccc, 0xcccccccc, 0xccccdddd, 0xdddddddd, 0xddddeeee, 0xeeeeeeee, 0xeeeeffff, 0xffffffff
bitmask_flags = 0x1, 0x8, 0x10
bitmask_flags2 = 0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80