]> Cypherpunks repositories - gostls13.git/commitdiff
arm: regenerate ztypes_linux_arm.go (fix build)
authorRuss Cox <rsc@golang.org>
Tue, 12 Oct 2010 14:24:55 +0000 (10:24 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 12 Oct 2010 14:24:55 +0000 (10:24 -0400)
R=adg
CC=golang-dev
https://golang.org/cl/2404043

src/pkg/syscall/ztypes_linux_arm.go

index df752b8b1937c02d3bfaf4a612f314ac070ba531..9f4a55bd7424ba3c8f8229181a209f89f1731800 100644 (file)
@@ -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
 }