From a3857c4e90fa4a3fbe78bd4b53cdc77aa91533cf Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 26 Aug 2017 21:36:08 +0200 Subject: pkg/compiler, sys/syz-sysgen: move const handling to pkg/compiler Now pkg/compiler deals with consts. --- sys/sys_386.go | 61 ---------------------------------------------------------- 1 file changed, 61 deletions(-) (limited to 'sys/sys_386.go') diff --git a/sys/sys_386.go b/sys/sys_386.go index 47686a722..fed54e800 100644 --- a/sys/sys_386.go +++ b/sys/sys_386.go @@ -21578,16 +21578,6 @@ var structFields = []struct { }}, } var Calls = []*Call{ - &Call{Name: "accept", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_storage", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: -1}, - &Call{Name: "accept$alg", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_algconn")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_alg", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_alg")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_alg", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: -1}, - &Call{Name: "accept$ax25", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ax25")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ax25")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ax25", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: -1}, - &Call{Name: "accept$inet", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_in")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: -1}, - &Call{Name: "accept$inet6", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_in6")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: -1}, - &Call{Name: "accept$ipx", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ipx")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: -1}, - &Call{Name: "accept$llc", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_llc")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: -1}, - &Call{Name: "accept$netrom", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_netrom")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: -1}, - &Call{Name: "accept$nfc_llcp", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: -1}, - &Call{Name: "accept$unix", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: -1}, &Call{Name: "accept4", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_storage", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 364}, &Call{Name: "accept4$ax25", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ax25")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ax25")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ax25", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 364}, &Call{Name: "accept4$inet", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_in")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 364}, @@ -22007,13 +21997,6 @@ var Calls = []*Call{ &Call{Name: "ioctl$GIO_SCRNMAP", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(19264)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: 54}, &Call{Name: "ioctl$GIO_UNIMAP", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(19302)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"unimapdesc_out", "", DirIn})}}, NR: 54}, &Call{Name: "ioctl$GIO_UNISCRNMAP", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(19305)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: 54}, - &Call{Name: "ioctl$ION_IOC_ALLOC", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_ion")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ion_allocation_data", "", DirInOut})}}, NR: 54}, - &Call{Name: "ioctl$ION_IOC_CUSTOM", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_ion")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ion_custom_data", "", DirInOut})}}, NR: 54}, - &Call{Name: "ioctl$ION_IOC_FREE", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_ion")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ion_handle_data", "", DirIn})}}, NR: 54}, - &Call{Name: "ioctl$ION_IOC_IMPORT", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_ion")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ion_fd_data", "", DirInOut})}}, NR: 54}, - &Call{Name: "ioctl$ION_IOC_MAP", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_ion")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ion_fd_data", "", DirInOut})}}, NR: 54}, - &Call{Name: "ioctl$ION_IOC_SHARE", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_ion")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ion_fd_data", "", DirInOut})}}, NR: 54}, - &Call{Name: "ioctl$ION_IOC_SYNC", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ion", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_ion")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ion_fd_data", "", DirInOut})}}, NR: 54}, &Call{Name: "ioctl$KDADDIO", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(19252)}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 54}, &Call{Name: "ioctl$KDDELIO", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(19253)}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 54}, &Call{Name: "ioctl$KDDISABIO", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(19255)}}, NR: 54}, @@ -22039,7 +22022,6 @@ var Calls = []*Call{ &Call{Name: "ioctl$KDSKBSENT", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(19273)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}}, NR: 54}, &Call{Name: "ioctl$KIOCSOUND", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(19247)}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 54}, &Call{Name: "ioctl$KVM_ARM_SET_DEVICE_ADDR", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_kvmcpu")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1074835115)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"kvm_arm_device_addr", "", DirIn})}}, NR: 54}, - &Call{Name: "ioctl$KVM_ARM_VCPU_INIT", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_kvmcpu")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"kvm_vcpu_init", "", DirIn})}}, NR: 54}, &Call{Name: "ioctl$KVM_ASSIGN_DEV_IRQ", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_kvmvm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1077980784)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"kvm_assigned_irq", "", DirIn})}}, NR: 54}, &Call{Name: "ioctl$KVM_ASSIGN_PCI_DEVICE", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_kvmvm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2151722601)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"kvm_assigned_pci_dev", "", DirIn})}}, NR: 54}, &Call{Name: "ioctl$KVM_ASSIGN_SET_INTX_MASK", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_kvmvm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1077980836)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"kvm_assigned_pci_dev", "", DirIn})}}, NR: 54}, @@ -22255,10 +22237,6 @@ var Calls = []*Call{ &Call{Name: "ioctl$TCSETSF", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(21508)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"termios", "", DirIn})}}, NR: 54}, &Call{Name: "ioctl$TCSETSW", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(21506)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"termios", "", DirIn})}}, NR: 54}, &Call{Name: "ioctl$TCXONC", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(21514)}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 54}, - &Call{Name: "ioctl$TE_IOCTL_CLOSE_CLIENT_SESSION", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tlk", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tlk")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"te_closesession", "", DirInOut})}}, NR: 54}, - &Call{Name: "ioctl$TE_IOCTL_LAUNCH_OPERATION", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tlk", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tlk")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"te_launchop", "", DirInOut})}}, NR: 54}, - &Call{Name: "ioctl$TE_IOCTL_OPEN_CLIENT_SESSION", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tlk", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tlk")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"te_opensession", "", DirInOut})}}, NR: 54}, - &Call{Name: "ioctl$TE_IOCTL_SS_CMD", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tlk", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tlk")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "arg", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 54}, &Call{Name: "ioctl$TIOCCBRK", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(21544)}}, NR: 54}, &Call{Name: "ioctl$TIOCCONS", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(21533)}}, NR: 54}, &Call{Name: "ioctl$TIOCEXCL", CallName: "ioctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tty", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_tty")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(21516)}}, NR: 54}, @@ -22486,16 +22464,6 @@ var Calls = []*Call{ &Call{Name: "mq_timedsend", CallName: "mq_timedsend", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_mq", FldName: "mqd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_mq")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "msg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "msg", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "msg", ByteSize: 0}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "prio", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"timespec", "", DirIn})}}, NR: 279}, &Call{Name: "mq_unlink", CallName: "mq_unlink", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "", Values: []string(nil), Length: 0}}}, NR: 278}, &Call{Name: "mremap", CallName: "mremap", Native: true, Ret: &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "ret", ArgDir: DirOut, IsOptional: false}, RangeBegin: 0, RangeEnd: 0}, Args: []Type{&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", ArgDir: DirIn, IsOptional: false}, RangeBegin: 0, RangeEnd: 0}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "newlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "newaddr", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2}}, &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "newaddr", ArgDir: DirIn, IsOptional: false}, RangeBegin: 0, RangeEnd: 0}}, NR: 163}, - &Call{Name: "msgctl$IPC_INFO", CallName: "msgctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_msq")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(3)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "msgctl$IPC_RMID", CallName: "msgctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_msq")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: -1}, - &Call{Name: "msgctl$IPC_SET", CallName: "msgctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_msq")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"msqid_ds", "", DirIn})}}, NR: -1}, - &Call{Name: "msgctl$IPC_STAT", CallName: "msgctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_msq")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "msgctl$MSG_INFO", CallName: "msgctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_msq")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(12)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "msgctl$MSG_STAT", CallName: "msgctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_msq")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(11)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "msgget", CallName: "msgget", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("ipc_msq")}, Args: []Type{&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, ValuesStart: 2039379027, ValuesPerProc: 4}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}}}, NR: -1}, - &Call{Name: "msgget$private", CallName: "msgget", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("ipc_msq")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}}}, NR: -1}, - &Call{Name: "msgrcv", CallName: "msgrcv", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_msq")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msgp", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"msgbuf", "", DirOut})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "msgp", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "typ", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 8192, 4096}}}, NR: -1}, - &Call{Name: "msgsnd", CallName: "msgsnd", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_msq", FldName: "msqid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_msq")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msgp", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"msgbuf", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "msgp", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048}}}, NR: -1}, &Call{Name: "msync", CallName: "msync", Native: true, Args: []Type{&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", ArgDir: DirIn, IsOptional: false}, RangeBegin: 0, RangeEnd: 0}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 4, 2}}}, NR: 144}, &Call{Name: "munlock", CallName: "munlock", Native: true, Args: []Type{&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", ArgDir: DirIn, IsOptional: false}, RangeBegin: 0, RangeEnd: 0}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 151}, &Call{Name: "munlockall", CallName: "munlockall", Native: true, Args: []Type{}, NR: 153}, @@ -22627,23 +22595,6 @@ var Calls = []*Call{ &Call{Name: "sched_yield", CallName: "sched_yield", Native: true, Args: []Type{}, NR: 158}, &Call{Name: "seccomp", CallName: "seccomp", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "op", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "prog", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sock_fprog", "", DirIn})}}, NR: 354}, &Call{Name: "select", CallName: "select", Native: true, Args: []Type{&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "n", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "inp", ByteSize: 0}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "inp", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"fd_set", "", DirInOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "outp", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"fd_set", "", DirInOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "exp", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"fd_set", "", DirInOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "tvp", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"timeval", "", DirInOut})}}, NR: 82}, - &Call{Name: "semctl$GETALL", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(13)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "semctl$GETNCNT", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(14)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "semctl$GETPID", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(11)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "semctl$GETVAL", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(12)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "semctl$GETZCNT", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(15)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "semctl$IPC_INFO", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(3)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "semctl$IPC_RMID", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: -1}, - &Call{Name: "semctl$IPC_SET", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"semid_ds", "", DirIn})}}, NR: -1}, - &Call{Name: "semctl$IPC_STAT", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "semctl$SEM_INFO", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(19)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "semctl$SEM_STAT", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(18)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "semctl$SETALL", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}}, Kind: ArrayRandLen}}}, NR: -1}, - &Call{Name: "semctl$SETVAL", CallName: "semctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "semnum", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(16)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}}, NR: -1}, - &Call{Name: "semget", CallName: "semget", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("ipc_sem")}, Args: []Type{&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, ValuesStart: 2039359027, ValuesPerProc: 4}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "nsems", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}}}, NR: -1}, - &Call{Name: "semget$private", CallName: "semget", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("ipc_sem")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "nsems", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{512, 1024, 256, 128, 64, 32, 16, 8, 4, 2, 1}}}, NR: -1}, - &Call{Name: "semop", CallName: "semop", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ops", ArgDir: DirIn, IsOptional: false}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sembuf", "", DirIn}), Kind: ArrayRandLen}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nops", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "ops", ByteSize: 0}}, NR: -1}, - &Call{Name: "semtimedop", CallName: "semtimedop", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_sem")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ops", ArgDir: DirIn, IsOptional: false}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sembuf", "", DirIn}), Kind: ArrayRandLen}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nops", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "ops", ByteSize: 0}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"timespec", "", DirIn})}}, NR: -1}, &Call{Name: "sendfile", CallName: "sendfile", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdout", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "off", ArgDir: DirIn, IsOptional: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "count", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 187}, &Call{Name: "sendmmsg", CallName: "sendmmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", ArgDir: DirIn, IsOptional: false}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"send_mmsghdr", "", DirIn}), Kind: ArrayRandLen}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "mmsg", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}}, NR: 345}, &Call{Name: "sendmmsg$alg", CallName: "sendmmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_algconn")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", ArgDir: DirIn, IsOptional: false}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"msghdr_alg", "", DirIn}), Kind: ArrayRandLen}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "mmsg", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}}, NR: 345}, @@ -22865,18 +22816,6 @@ var Calls = []*Call{ &Call{Name: "setsockopt$sock_void", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{27, 36}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optval", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 366}, &Call{Name: "setuid", CallName: "setuid", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", ArgDir: DirIn, IsOptional: false}, Desc: resource("uid")}}, NR: 23}, &Call{Name: "setxattr", CallName: "setxattr", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"xattr_name", "", DirIn})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "", Values: []string(nil), Length: 0}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "val", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2}}}, NR: 226}, - &Call{Name: "shmat", CallName: "shmat", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "shmaddr", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("shmaddr")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_shm")}, &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", ArgDir: DirIn, IsOptional: false}, RangeBegin: 0, RangeEnd: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{8192, 4096, 16384}}}, NR: -1}, - &Call{Name: "shmctl$IPC_INFO", CallName: "shmctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_shm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(3)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "shmctl$IPC_RMID", CallName: "shmctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_shm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: -1}, - &Call{Name: "shmctl$IPC_SET", CallName: "shmctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_shm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"shmid_ds", "", DirIn})}}, NR: -1}, - &Call{Name: "shmctl$IPC_STAT", CallName: "shmctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_shm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "shmctl$SHM_INFO", CallName: "shmctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_shm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(14)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "shmctl$SHM_LOCK", CallName: "shmctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_shm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(11)}}, NR: -1}, - &Call{Name: "shmctl$SHM_STAT", CallName: "shmctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_shm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(13)}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: -1}, - &Call{Name: "shmctl$SHM_UNLOCK", CallName: "shmctl", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "shmid", ArgDir: DirIn, IsOptional: false}, Desc: resource("ipc_shm")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(12)}}, NR: -1}, - &Call{Name: "shmdt", CallName: "shmdt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "shmaddr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Desc: resource("shmaddr")}}, NR: -1}, - &Call{Name: "shmget", CallName: "shmget", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("ipc_shm")}, Args: []Type{&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, ValuesStart: 2039339027, ValuesPerProc: 4}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "unused", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{512, 1024, 2048, 1409286144, 2013265920, 4096, 256, 128, 64, 32, 16, 8, 4, 2, 1}}, &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "unused", ArgDir: DirIn, IsOptional: false}, RangeBegin: 0, RangeEnd: 0}}, NR: -1}, - &Call{Name: "shmget$private", CallName: "shmget", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_shm", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("ipc_shm")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "unused", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{512, 1024, 2048, 1409286144, 2013265920, 4096, 256, 128, 64, 32, 16, 8, 4, 2, 1}}, &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "unused", ArgDir: DirIn, IsOptional: false}, RangeBegin: 0, RangeEnd: 0}}, NR: -1}, &Call{Name: "shutdown", CallName: "shutdown", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "how", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1}}}, NR: 373}, &Call{Name: "sigaltstack", CallName: "sigaltstack", Native: true, Args: []Type{&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "ss", ArgDir: DirIn, IsOptional: false}, RangeBegin: 0, RangeEnd: 0}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "oss", ArgDir: DirIn, IsOptional: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}}, NR: 186}, &Call{Name: "signalfd", CallName: "signalfd", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_signal", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("fd_signal")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mask", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sigset", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "mask", ByteSize: 0}}, NR: 321}, -- cgit mrf-deployment