Commit 2a198650 authored by Russ Cox's avatar Russ Cox

arm: regenerate ztypes_linux_arm.go (fix build)

R=adg
CC=golang-dev
https://golang.org/cl/2404043
parent b390c4b9
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment