mirror of
https://github.com/golang/go
synced 2024-10-03 08:21:21 -06:00
arm: regenerate ztypes_linux_arm.go (fix build)
R=adg CC=golang-dev https://golang.org/cl/2404043
This commit is contained in:
parent
b390c4b9d6
commit
2a19865012
@ -6,20 +6,22 @@ package syscall
|
|||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
const (
|
const (
|
||||||
sizeofPtr = 0x4
|
sizeofPtr = 0x4
|
||||||
sizeofShort = 0x2
|
sizeofShort = 0x2
|
||||||
sizeofInt = 0x4
|
sizeofInt = 0x4
|
||||||
sizeofLong = 0x4
|
sizeofLong = 0x4
|
||||||
sizeofLongLong = 0x8
|
sizeofLongLong = 0x8
|
||||||
PathMax = 0x1000
|
PathMax = 0x1000
|
||||||
SizeofSockaddrInet4 = 0x10
|
SizeofSockaddrInet4 = 0x10
|
||||||
SizeofSockaddrInet6 = 0x1c
|
SizeofSockaddrInet6 = 0x1c
|
||||||
SizeofSockaddrAny = 0x70
|
SizeofSockaddrAny = 0x70
|
||||||
SizeofSockaddrUnix = 0x6e
|
SizeofSockaddrUnix = 0x6e
|
||||||
SizeofLinger = 0x8
|
SizeofSockaddrLinklayer = 0x14
|
||||||
SizeofMsghdr = 0x1c
|
SizeofLinger = 0x8
|
||||||
SizeofCmsghdr = 0xc
|
SizeofMsghdr = 0x1c
|
||||||
SizeofInotifyEvent = 0x10
|
SizeofCmsghdr = 0xc
|
||||||
|
SizeofUcred = 0xc
|
||||||
|
SizeofInotifyEvent = 0x10
|
||||||
)
|
)
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
@ -62,6 +64,7 @@ type Timex struct {
|
|||||||
Calcnt int32
|
Calcnt int32
|
||||||
Errcnt int32
|
Errcnt int32
|
||||||
Stbcnt int32
|
Stbcnt int32
|
||||||
|
Tai int32
|
||||||
Pad0 int32
|
Pad0 int32
|
||||||
Pad1 int32
|
Pad1 int32
|
||||||
Pad2 int32
|
Pad2 int32
|
||||||
@ -73,7 +76,6 @@ type Timex struct {
|
|||||||
Pad8 int32
|
Pad8 int32
|
||||||
Pad9 int32
|
Pad9 int32
|
||||||
Pad10 int32
|
Pad10 int32
|
||||||
Pad11 int32
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type Time_t int32
|
type Time_t int32
|
||||||
@ -179,7 +181,17 @@ type RawSockaddrInet6 struct {
|
|||||||
|
|
||||||
type RawSockaddrUnix struct {
|
type RawSockaddrUnix struct {
|
||||||
Family uint16
|
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 {
|
type RawSockaddr struct {
|
||||||
@ -220,6 +232,12 @@ type Cmsghdr struct {
|
|||||||
Type int32
|
Type int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Ucred struct {
|
||||||
|
Pid int32
|
||||||
|
Uid uint32
|
||||||
|
Gid uint32
|
||||||
|
}
|
||||||
|
|
||||||
type InotifyEvent struct {
|
type InotifyEvent struct {
|
||||||
Wd int32
|
Wd int32
|
||||||
Mask uint32
|
Mask uint32
|
||||||
@ -229,6 +247,8 @@ type InotifyEvent struct {
|
|||||||
|
|
||||||
type PtraceRegs struct{}
|
type PtraceRegs struct{}
|
||||||
|
|
||||||
|
type PtraceRegs struct{}
|
||||||
|
|
||||||
type FdSet struct {
|
type FdSet struct {
|
||||||
Bits [32]int32
|
Bits [32]int32
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user