aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/386.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-02-23 13:42:41 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-02-23 13:42:41 +0100
commite229ac7779c82d5cdf27243e7699a2175c785f80 (patch)
tree17c615f6d9762b3eb7c0a99ee0a991197ef89978 /sys/linux/386.go
parent3be86de046e00897e05f1330b9fe17459735f294 (diff)
sys: fix descriptions for strickter return type checks
Mostly remove vma as return from some mm syscalls. This is unnecessary and we never used these.
Diffstat (limited to 'sys/linux/386.go')
-rw-r--r--sys/linux/386.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/linux/386.go b/sys/linux/386.go
index 2dab1d8fe..e0dd33fe0 100644
--- a/sys/linux/386.go
+++ b/sys/linux/386.go
@@ -17282,7 +17282,7 @@ var syscalls_386 = []*Syscall{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mmap_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 64, 32, 2048, 4096, 0, 16, 256, 262144, 8192, 65536, 16384, 32768, 131072, 0, 3, 524288}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offset", TypeSize: 4}}, Kind: 1},
- }, Ret: &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ }},
{ID: 971, NR: 192, Name: "mmap$binder", CallName: "mmap", Args: []Type{
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 4}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "addr"},
@@ -17369,7 +17369,7 @@ var syscalls_386 = []*Syscall{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "newlen", TypeSize: 4}}, Buf: "newaddr"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mremap_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}},
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "newaddr", TypeSize: 4}},
- }, Ret: &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ }},
{ID: 986, 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"},
@@ -25033,4 +25033,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "29c853f8d15aefe6c7ad4491ff1dce9a04e466db"
+const revision_386 = "ea3b1bb193468eecc7b5d826dcd81ac8b0af9c43"