aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen/amd64.go
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/gen/amd64.go
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/gen/amd64.go')
-rw-r--r--sys/linux/gen/amd64.go20
1 files changed, 10 insertions, 10 deletions
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"