From 2a198650123508a601a5537c5774409a272453cc Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 12 Oct 2010 10:24:55 -0400 Subject: [PATCH] arm: regenerate ztypes_linux_arm.go (fix build) R=adg CC=golang-dev https://golang.org/cl/2404043 --- src/pkg/syscall/ztypes_linux_arm.go | 52 ++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 16 deletions(-) diff --git a/src/pkg/syscall/ztypes_linux_arm.go b/src/pkg/syscall/ztypes_linux_arm.go index df752b8b19..9f4a55bd74 100644 --- a/src/pkg/syscall/ztypes_linux_arm.go +++ b/src/pkg/syscall/ztypes_linux_arm.go @@ -6,20 +6,22 @@ package syscall // Constants const ( - sizeofPtr = 0x4 - sizeofShort = 0x2 - sizeofInt = 0x4 - sizeofLong = 0x4 - sizeofLongLong = 0x8 - PathMax = 0x1000 - SizeofSockaddrInet4 = 0x10 - SizeofSockaddrInet6 = 0x1c - SizeofSockaddrAny = 0x70 - SizeofSockaddrUnix = 0x6e - SizeofLinger = 0x8 - SizeofMsghdr = 0x1c - SizeofCmsghdr = 0xc - SizeofInotifyEvent = 0x10 + sizeofPtr = 0x4 + sizeofShort = 0x2 + sizeofInt = 0x4 + sizeofLong = 0x4 + sizeofLongLong = 0x8 + PathMax = 0x1000 + SizeofSockaddrInet4 = 0x10 + SizeofSockaddrInet6 = 0x1c + SizeofSockaddrAny = 0x70 + SizeofSockaddrUnix = 0x6e + SizeofSockaddrLinklayer = 0x14 + SizeofLinger = 0x8 + SizeofMsghdr = 0x1c + SizeofCmsghdr = 0xc + SizeofUcred = 0xc + SizeofInotifyEvent = 0x10 ) // Types @@ -62,6 +64,7 @@ type Timex struct { Calcnt int32 Errcnt int32 Stbcnt int32 + Tai int32 Pad0 int32 Pad1 int32 Pad2 int32 @@ -73,7 +76,6 @@ type Timex struct { Pad8 int32 Pad9 int32 Pad10 int32 - Pad11 int32 } type Time_t int32 @@ -179,7 +181,17 @@ type RawSockaddrInet6 struct { type RawSockaddrUnix struct { Family uint16 - Path [108]int8 + Path [108]uint8 +} + +type RawSockaddrLinklayer struct { + Family uint16 + Protocol uint16 + Ifindex int32 + Hatype uint16 + Pkttype uint8 + Halen uint8 + Addr [8]uint8 } type RawSockaddr struct { @@ -220,6 +232,12 @@ type Cmsghdr struct { Type int32 } +type Ucred struct { + Pid int32 + Uid uint32 + Gid uint32 +} + type InotifyEvent struct { Wd int32 Mask uint32 @@ -229,6 +247,8 @@ type InotifyEvent struct { type PtraceRegs struct{} +type PtraceRegs struct{} + type FdSet struct { Bits [32]int32 } -- 2.48.1