aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen/arm.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-11-29 09:44:19 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-11-29 10:46:26 +0100
commitaac51b70cdffdf58901684563119bd1c01751ecc (patch)
tree26561690b1d8c1a7d32b1971ab34b4ece5333332 /sys/linux/gen/arm.go
parent736169d38b707e0932233379c056145a0c2ecf32 (diff)
sys/linux: use known tags for 9p virtio/xen
Name virtio/xen sources "syz" so that it's possible to expose it from host and actually use.
Diffstat (limited to 'sys/linux/gen/arm.go')
-rw-r--r--sys/linux/gen/arm.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 083c1d226..90f9c8cdb 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -40729,14 +40729,14 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "p9_options_unix"}}},
}},
{NR: 21, Name: "mount$9p_virtio", CallName: "mount", Args: []Type{
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "src", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "src", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"syz\x00"}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 3}, Kind: 2, Values: []string{"9p\x00"}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "p9_options_virtio"}}},
}},
{NR: 21, Name: "mount$9p_xen", CallName: "mount", Args: []Type{
- &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "src", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "src", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"syz\x00"}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 3}, Kind: 2, Values: []string{"9p\x00"}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true},
@@ -55751,4 +55751,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "a6c83e9dee0a0fe2779d94cd319fe9eea0f13d49"
+const revision_arm = "dc13a936cf0cc9b4111f8ebd61e385bf2bc9d734"