Commit 97b4c2a9 authored by Tobias Klauser's avatar Tobias Klauser Committed by Tobias Klauser

unix: update Dockerfile to Go 1.12beta1

The removed paddings are expected behavior resulting from CL 150602.

Change-Id: I2c80405e20f92cca4890230c6f0644b724a8076e
Reviewed-on: https://go-review.googlesource.com/c/155257
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 074acd46
...@@ -17,9 +17,9 @@ RUN git clone --branch v4.19 --depth 1 https://kernel.googlesource.com/pub/scm/l ...@@ -17,9 +17,9 @@ RUN git clone --branch v4.19 --depth 1 https://kernel.googlesource.com/pub/scm/l
RUN git clone --branch glibc-2.28 --depth 1 git://sourceware.org/git/glibc.git RUN git clone --branch glibc-2.28 --depth 1 git://sourceware.org/git/glibc.git
# Get Go # Get Go
ENV GOLANG_VERSION 1.11 ENV GOLANG_VERSION 1.12beta1
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
ENV GOLANG_DOWNLOAD_SHA256 b3fcf280ff86558e0559e185b601c9eade0fd24c900b4c63cd14d1d38613e499 ENV GOLANG_DOWNLOAD_SHA256 65bfd4a99925f1f85d712f4c1109977aa24ee4c6e198162bf8e819fdde19e875
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
&& echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \ && echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \
......
...@@ -98,7 +98,6 @@ type _Gid_t uint32 ...@@ -98,7 +98,6 @@ type _Gid_t uint32
type Stat_t struct { type Stat_t struct {
Dev uint64 Dev uint64
_ uint16 _ uint16
_ [2]byte
_ uint32 _ uint32
Mode uint32 Mode uint32
Nlink uint32 Nlink uint32
...@@ -106,7 +105,6 @@ type Stat_t struct { ...@@ -106,7 +105,6 @@ type Stat_t struct {
Gid uint32 Gid uint32
Rdev uint64 Rdev uint64
_ uint16 _ uint16
_ [2]byte
Size int64 Size int64
Blksize int32 Blksize int32
Blocks int64 Blocks int64
...@@ -257,7 +255,6 @@ type RawSockaddrRFCOMM struct { ...@@ -257,7 +255,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -382,7 +379,6 @@ type TCPInfo struct { ...@@ -382,7 +379,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -652,7 +648,6 @@ type SockFilter struct { ...@@ -652,7 +648,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [2]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -788,11 +783,10 @@ type Winsize struct { ...@@ -788,11 +783,10 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte _ [4]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -1866,7 +1860,6 @@ type RTCTime struct { ...@@ -1866,7 +1860,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
......
...@@ -33,13 +33,11 @@ type Timeval struct { ...@@ -33,13 +33,11 @@ type Timeval struct {
type Timex struct { type Timex struct {
Modes uint32 Modes uint32
_ [4]byte
Offset int64 Offset int64
Freq int64 Freq int64
Maxerror int64 Maxerror int64
Esterror int64 Esterror int64
Status int32 Status int32
_ [4]byte
Constant int64 Constant int64
Precision int64 Precision int64
Tolerance int64 Tolerance int64
...@@ -48,7 +46,6 @@ type Timex struct { ...@@ -48,7 +46,6 @@ type Timex struct {
Ppsfreq int64 Ppsfreq int64
Jitter int64 Jitter int64
Shift int32 Shift int32
_ [4]byte
Stabil int64 Stabil int64
Jitcnt int64 Jitcnt int64
Calcnt int64 Calcnt int64
...@@ -162,7 +159,6 @@ type Fsid struct { ...@@ -162,7 +159,6 @@ type Fsid struct {
type Flock_t struct { type Flock_t struct {
Type int16 Type int16
Whence int16 Whence int16
_ [4]byte
Start int64 Start int64
Len int64 Len int64
Pid int32 Pid int32
...@@ -259,7 +255,6 @@ type RawSockaddrRFCOMM struct { ...@@ -259,7 +255,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -338,7 +333,6 @@ type PacketMreq struct { ...@@ -338,7 +333,6 @@ type PacketMreq struct {
type Msghdr struct { type Msghdr struct {
Name *byte Name *byte
Namelen uint32 Namelen uint32
_ [4]byte
Iov *Iovec Iov *Iovec
Iovlen uint64 Iovlen uint64
Control *byte Control *byte
...@@ -386,7 +380,6 @@ type TCPInfo struct { ...@@ -386,7 +380,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -656,7 +649,6 @@ type SockFilter struct { ...@@ -656,7 +649,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [6]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -714,7 +706,6 @@ type Sysinfo_t struct { ...@@ -714,7 +706,6 @@ type Sysinfo_t struct {
Freeswap uint64 Freeswap uint64
Procs uint16 Procs uint16
Pad uint16 Pad uint16
_ [4]byte
Totalhigh uint64 Totalhigh uint64
Freehigh uint64 Freehigh uint64
Unit uint32 Unit uint32
...@@ -733,7 +724,6 @@ type Utsname struct { ...@@ -733,7 +724,6 @@ type Utsname struct {
type Ustat_t struct { type Ustat_t struct {
Tfree int32 Tfree int32
_ [4]byte
Tinode uint64 Tinode uint64
Fname [6]int8 Fname [6]int8
Fpack [6]int8 Fpack [6]int8
...@@ -806,11 +796,9 @@ type Winsize struct { ...@@ -806,11 +796,9 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -828,7 +816,6 @@ type Taskstats struct { ...@@ -828,7 +816,6 @@ type Taskstats struct {
Ac_pid uint32 Ac_pid uint32
Ac_ppid uint32 Ac_ppid uint32
Ac_btime uint32 Ac_btime uint32
_ [4]byte
Ac_etime uint64 Ac_etime uint64
Ac_utime uint64 Ac_utime uint64
Ac_stime uint64 Ac_stime uint64
...@@ -1200,7 +1187,6 @@ type HDGeometry struct { ...@@ -1200,7 +1187,6 @@ type HDGeometry struct {
Heads uint8 Heads uint8
Sectors uint8 Sectors uint8
Cylinders uint16 Cylinders uint16
_ [4]byte
Start uint64 Start uint64
} }
...@@ -1886,7 +1872,6 @@ type RTCTime struct { ...@@ -1886,7 +1872,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
...@@ -1904,7 +1889,6 @@ type BlkpgIoctlArg struct { ...@@ -1904,7 +1889,6 @@ type BlkpgIoctlArg struct {
Op int32 Op int32
Flags int32 Flags int32
Datalen int32 Datalen int32
_ [4]byte
Data *byte Data *byte
} }
......
...@@ -98,7 +98,6 @@ type _Gid_t uint32 ...@@ -98,7 +98,6 @@ type _Gid_t uint32
type Stat_t struct { type Stat_t struct {
Dev uint64 Dev uint64
_ uint16 _ uint16
_ [2]byte
_ uint32 _ uint32
Mode uint32 Mode uint32
Nlink uint32 Nlink uint32
...@@ -106,7 +105,7 @@ type Stat_t struct { ...@@ -106,7 +105,7 @@ type Stat_t struct {
Gid uint32 Gid uint32
Rdev uint64 Rdev uint64
_ uint16 _ uint16
_ [6]byte _ [4]byte
Size int64 Size int64
Blksize int32 Blksize int32
_ [4]byte _ [4]byte
...@@ -260,7 +259,6 @@ type RawSockaddrRFCOMM struct { ...@@ -260,7 +259,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -385,7 +383,6 @@ type TCPInfo struct { ...@@ -385,7 +383,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -655,7 +652,6 @@ type SockFilter struct { ...@@ -655,7 +652,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [2]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -776,11 +772,10 @@ type Winsize struct { ...@@ -776,11 +772,10 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte _ [4]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -1855,7 +1850,6 @@ type RTCTime struct { ...@@ -1855,7 +1850,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
......
...@@ -33,13 +33,11 @@ type Timeval struct { ...@@ -33,13 +33,11 @@ type Timeval struct {
type Timex struct { type Timex struct {
Modes uint32 Modes uint32
_ [4]byte
Offset int64 Offset int64
Freq int64 Freq int64
Maxerror int64 Maxerror int64
Esterror int64 Esterror int64
Status int32 Status int32
_ [4]byte
Constant int64 Constant int64
Precision int64 Precision int64
Tolerance int64 Tolerance int64
...@@ -48,7 +46,6 @@ type Timex struct { ...@@ -48,7 +46,6 @@ type Timex struct {
Ppsfreq int64 Ppsfreq int64
Jitter int64 Jitter int64
Shift int32 Shift int32
_ [4]byte
Stabil int64 Stabil int64
Jitcnt int64 Jitcnt int64
Calcnt int64 Calcnt int64
...@@ -163,7 +160,6 @@ type Fsid struct { ...@@ -163,7 +160,6 @@ type Fsid struct {
type Flock_t struct { type Flock_t struct {
Type int16 Type int16
Whence int16 Whence int16
_ [4]byte
Start int64 Start int64
Len int64 Len int64
Pid int32 Pid int32
...@@ -260,7 +256,6 @@ type RawSockaddrRFCOMM struct { ...@@ -260,7 +256,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -339,7 +334,6 @@ type PacketMreq struct { ...@@ -339,7 +334,6 @@ type PacketMreq struct {
type Msghdr struct { type Msghdr struct {
Name *byte Name *byte
Namelen uint32 Namelen uint32
_ [4]byte
Iov *Iovec Iov *Iovec
Iovlen uint64 Iovlen uint64
Control *byte Control *byte
...@@ -387,7 +381,6 @@ type TCPInfo struct { ...@@ -387,7 +381,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -657,7 +650,6 @@ type SockFilter struct { ...@@ -657,7 +650,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [6]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -692,7 +684,6 @@ type Sysinfo_t struct { ...@@ -692,7 +684,6 @@ type Sysinfo_t struct {
Freeswap uint64 Freeswap uint64
Procs uint16 Procs uint16
Pad uint16 Pad uint16
_ [4]byte
Totalhigh uint64 Totalhigh uint64
Freehigh uint64 Freehigh uint64
Unit uint32 Unit uint32
...@@ -711,7 +702,6 @@ type Utsname struct { ...@@ -711,7 +702,6 @@ type Utsname struct {
type Ustat_t struct { type Ustat_t struct {
Tfree int32 Tfree int32
_ [4]byte
Tinode uint64 Tinode uint64
Fname [6]int8 Fname [6]int8
Fpack [6]int8 Fpack [6]int8
...@@ -785,11 +775,9 @@ type Winsize struct { ...@@ -785,11 +775,9 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -807,7 +795,6 @@ type Taskstats struct { ...@@ -807,7 +795,6 @@ type Taskstats struct {
Ac_pid uint32 Ac_pid uint32
Ac_ppid uint32 Ac_ppid uint32
Ac_btime uint32 Ac_btime uint32
_ [4]byte
Ac_etime uint64 Ac_etime uint64
Ac_utime uint64 Ac_utime uint64
Ac_stime uint64 Ac_stime uint64
...@@ -1179,7 +1166,6 @@ type HDGeometry struct { ...@@ -1179,7 +1166,6 @@ type HDGeometry struct {
Heads uint8 Heads uint8
Sectors uint8 Sectors uint8
Cylinders uint16 Cylinders uint16
_ [4]byte
Start uint64 Start uint64
} }
...@@ -1865,7 +1851,6 @@ type RTCTime struct { ...@@ -1865,7 +1851,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
...@@ -1883,7 +1868,6 @@ type BlkpgIoctlArg struct { ...@@ -1883,7 +1868,6 @@ type BlkpgIoctlArg struct {
Op int32 Op int32
Flags int32 Flags int32
Datalen int32 Datalen int32
_ [4]byte
Data *byte Data *byte
} }
......
...@@ -258,7 +258,6 @@ type RawSockaddrRFCOMM struct { ...@@ -258,7 +258,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -383,7 +382,6 @@ type TCPInfo struct { ...@@ -383,7 +382,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -653,7 +651,6 @@ type SockFilter struct { ...@@ -653,7 +651,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [2]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -780,11 +777,10 @@ type Winsize struct { ...@@ -780,11 +777,10 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte _ [4]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -1860,7 +1856,6 @@ type RTCTime struct { ...@@ -1860,7 +1856,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
......
...@@ -33,13 +33,11 @@ type Timeval struct { ...@@ -33,13 +33,11 @@ type Timeval struct {
type Timex struct { type Timex struct {
Modes uint32 Modes uint32
_ [4]byte
Offset int64 Offset int64
Freq int64 Freq int64
Maxerror int64 Maxerror int64
Esterror int64 Esterror int64
Status int32 Status int32
_ [4]byte
Constant int64 Constant int64
Precision int64 Precision int64
Tolerance int64 Tolerance int64
...@@ -48,7 +46,6 @@ type Timex struct { ...@@ -48,7 +46,6 @@ type Timex struct {
Ppsfreq int64 Ppsfreq int64
Jitter int64 Jitter int64
Shift int32 Shift int32
_ [4]byte
Stabil int64 Stabil int64
Jitcnt int64 Jitcnt int64
Calcnt int64 Calcnt int64
...@@ -163,7 +160,6 @@ type Fsid struct { ...@@ -163,7 +160,6 @@ type Fsid struct {
type Flock_t struct { type Flock_t struct {
Type int16 Type int16
Whence int16 Whence int16
_ [4]byte
Start int64 Start int64
Len int64 Len int64
Pid int32 Pid int32
...@@ -260,7 +256,6 @@ type RawSockaddrRFCOMM struct { ...@@ -260,7 +256,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -339,7 +334,6 @@ type PacketMreq struct { ...@@ -339,7 +334,6 @@ type PacketMreq struct {
type Msghdr struct { type Msghdr struct {
Name *byte Name *byte
Namelen uint32 Namelen uint32
_ [4]byte
Iov *Iovec Iov *Iovec
Iovlen uint64 Iovlen uint64
Control *byte Control *byte
...@@ -387,7 +381,6 @@ type TCPInfo struct { ...@@ -387,7 +381,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -657,7 +650,6 @@ type SockFilter struct { ...@@ -657,7 +650,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [6]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -695,7 +687,6 @@ type Sysinfo_t struct { ...@@ -695,7 +687,6 @@ type Sysinfo_t struct {
Freeswap uint64 Freeswap uint64
Procs uint16 Procs uint16
Pad uint16 Pad uint16
_ [4]byte
Totalhigh uint64 Totalhigh uint64
Freehigh uint64 Freehigh uint64
Unit uint32 Unit uint32
...@@ -714,7 +705,6 @@ type Utsname struct { ...@@ -714,7 +705,6 @@ type Utsname struct {
type Ustat_t struct { type Ustat_t struct {
Tfree int32 Tfree int32
_ [4]byte
Tinode uint64 Tinode uint64
Fname [6]int8 Fname [6]int8
Fpack [6]int8 Fpack [6]int8
...@@ -787,11 +777,9 @@ type Winsize struct { ...@@ -787,11 +777,9 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -809,7 +797,6 @@ type Taskstats struct { ...@@ -809,7 +797,6 @@ type Taskstats struct {
Ac_pid uint32 Ac_pid uint32
Ac_ppid uint32 Ac_ppid uint32
Ac_btime uint32 Ac_btime uint32
_ [4]byte
Ac_etime uint64 Ac_etime uint64
Ac_utime uint64 Ac_utime uint64
Ac_stime uint64 Ac_stime uint64
...@@ -1181,7 +1168,6 @@ type HDGeometry struct { ...@@ -1181,7 +1168,6 @@ type HDGeometry struct {
Heads uint8 Heads uint8
Sectors uint8 Sectors uint8
Cylinders uint16 Cylinders uint16
_ [4]byte
Start uint64 Start uint64
} }
...@@ -1867,7 +1853,6 @@ type RTCTime struct { ...@@ -1867,7 +1853,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
...@@ -1885,7 +1870,6 @@ type BlkpgIoctlArg struct { ...@@ -1885,7 +1870,6 @@ type BlkpgIoctlArg struct {
Op int32 Op int32
Flags int32 Flags int32
Datalen int32 Datalen int32
_ [4]byte
Data *byte Data *byte
} }
......
...@@ -33,13 +33,11 @@ type Timeval struct { ...@@ -33,13 +33,11 @@ type Timeval struct {
type Timex struct { type Timex struct {
Modes uint32 Modes uint32
_ [4]byte
Offset int64 Offset int64
Freq int64 Freq int64
Maxerror int64 Maxerror int64
Esterror int64 Esterror int64
Status int32 Status int32
_ [4]byte
Constant int64 Constant int64
Precision int64 Precision int64
Tolerance int64 Tolerance int64
...@@ -48,7 +46,6 @@ type Timex struct { ...@@ -48,7 +46,6 @@ type Timex struct {
Ppsfreq int64 Ppsfreq int64
Jitter int64 Jitter int64
Shift int32 Shift int32
_ [4]byte
Stabil int64 Stabil int64
Jitcnt int64 Jitcnt int64
Calcnt int64 Calcnt int64
...@@ -163,7 +160,6 @@ type Fsid struct { ...@@ -163,7 +160,6 @@ type Fsid struct {
type Flock_t struct { type Flock_t struct {
Type int16 Type int16
Whence int16 Whence int16
_ [4]byte
Start int64 Start int64
Len int64 Len int64
Pid int32 Pid int32
...@@ -260,7 +256,6 @@ type RawSockaddrRFCOMM struct { ...@@ -260,7 +256,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -339,7 +334,6 @@ type PacketMreq struct { ...@@ -339,7 +334,6 @@ type PacketMreq struct {
type Msghdr struct { type Msghdr struct {
Name *byte Name *byte
Namelen uint32 Namelen uint32
_ [4]byte
Iov *Iovec Iov *Iovec
Iovlen uint64 Iovlen uint64
Control *byte Control *byte
...@@ -387,7 +381,6 @@ type TCPInfo struct { ...@@ -387,7 +381,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -657,7 +650,6 @@ type SockFilter struct { ...@@ -657,7 +650,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [6]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -695,7 +687,6 @@ type Sysinfo_t struct { ...@@ -695,7 +687,6 @@ type Sysinfo_t struct {
Freeswap uint64 Freeswap uint64
Procs uint16 Procs uint16
Pad uint16 Pad uint16
_ [4]byte
Totalhigh uint64 Totalhigh uint64
Freehigh uint64 Freehigh uint64
Unit uint32 Unit uint32
...@@ -714,7 +705,6 @@ type Utsname struct { ...@@ -714,7 +705,6 @@ type Utsname struct {
type Ustat_t struct { type Ustat_t struct {
Tfree int32 Tfree int32
_ [4]byte
Tinode uint64 Tinode uint64
Fname [6]int8 Fname [6]int8
Fpack [6]int8 Fpack [6]int8
...@@ -787,11 +777,9 @@ type Winsize struct { ...@@ -787,11 +777,9 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -809,7 +797,6 @@ type Taskstats struct { ...@@ -809,7 +797,6 @@ type Taskstats struct {
Ac_pid uint32 Ac_pid uint32
Ac_ppid uint32 Ac_ppid uint32
Ac_btime uint32 Ac_btime uint32
_ [4]byte
Ac_etime uint64 Ac_etime uint64
Ac_utime uint64 Ac_utime uint64
Ac_stime uint64 Ac_stime uint64
...@@ -1181,7 +1168,6 @@ type HDGeometry struct { ...@@ -1181,7 +1168,6 @@ type HDGeometry struct {
Heads uint8 Heads uint8
Sectors uint8 Sectors uint8
Cylinders uint16 Cylinders uint16
_ [4]byte
Start uint64 Start uint64
} }
...@@ -1867,7 +1853,6 @@ type RTCTime struct { ...@@ -1867,7 +1853,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
...@@ -1885,7 +1870,6 @@ type BlkpgIoctlArg struct { ...@@ -1885,7 +1870,6 @@ type BlkpgIoctlArg struct {
Op int32 Op int32
Flags int32 Flags int32
Datalen int32 Datalen int32
_ [4]byte
Data *byte Data *byte
} }
......
...@@ -258,7 +258,6 @@ type RawSockaddrRFCOMM struct { ...@@ -258,7 +258,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -383,7 +382,6 @@ type TCPInfo struct { ...@@ -383,7 +382,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -653,7 +651,6 @@ type SockFilter struct { ...@@ -653,7 +651,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [2]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -780,11 +777,10 @@ type Winsize struct { ...@@ -780,11 +777,10 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte _ [4]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -1860,7 +1856,6 @@ type RTCTime struct { ...@@ -1860,7 +1856,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
......
...@@ -33,13 +33,11 @@ type Timeval struct { ...@@ -33,13 +33,11 @@ type Timeval struct {
type Timex struct { type Timex struct {
Modes uint32 Modes uint32
_ [4]byte
Offset int64 Offset int64
Freq int64 Freq int64
Maxerror int64 Maxerror int64
Esterror int64 Esterror int64
Status int32 Status int32
_ [4]byte
Constant int64 Constant int64
Precision int64 Precision int64
Tolerance int64 Tolerance int64
...@@ -48,7 +46,6 @@ type Timex struct { ...@@ -48,7 +46,6 @@ type Timex struct {
Ppsfreq int64 Ppsfreq int64
Jitter int64 Jitter int64
Shift int32 Shift int32
_ [4]byte
Stabil int64 Stabil int64
Jitcnt int64 Jitcnt int64
Calcnt int64 Calcnt int64
...@@ -164,7 +161,6 @@ type Fsid struct { ...@@ -164,7 +161,6 @@ type Fsid struct {
type Flock_t struct { type Flock_t struct {
Type int16 Type int16
Whence int16 Whence int16
_ [4]byte
Start int64 Start int64
Len int64 Len int64
Pid int32 Pid int32
...@@ -261,7 +257,6 @@ type RawSockaddrRFCOMM struct { ...@@ -261,7 +257,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -340,7 +335,6 @@ type PacketMreq struct { ...@@ -340,7 +335,6 @@ type PacketMreq struct {
type Msghdr struct { type Msghdr struct {
Name *byte Name *byte
Namelen uint32 Namelen uint32
_ [4]byte
Iov *Iovec Iov *Iovec
Iovlen uint64 Iovlen uint64
Control *byte Control *byte
...@@ -388,7 +382,6 @@ type TCPInfo struct { ...@@ -388,7 +382,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -658,7 +651,6 @@ type SockFilter struct { ...@@ -658,7 +651,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [6]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -702,7 +694,6 @@ type Sysinfo_t struct { ...@@ -702,7 +694,6 @@ type Sysinfo_t struct {
Freeswap uint64 Freeswap uint64
Procs uint16 Procs uint16
Pad uint16 Pad uint16
_ [4]byte
Totalhigh uint64 Totalhigh uint64
Freehigh uint64 Freehigh uint64
Unit uint32 Unit uint32
...@@ -721,7 +712,6 @@ type Utsname struct { ...@@ -721,7 +712,6 @@ type Utsname struct {
type Ustat_t struct { type Ustat_t struct {
Tfree int32 Tfree int32
_ [4]byte
Tinode uint64 Tinode uint64
Fname [6]uint8 Fname [6]uint8
Fpack [6]uint8 Fpack [6]uint8
...@@ -795,11 +785,9 @@ type Winsize struct { ...@@ -795,11 +785,9 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -817,7 +805,6 @@ type Taskstats struct { ...@@ -817,7 +805,6 @@ type Taskstats struct {
Ac_pid uint32 Ac_pid uint32
Ac_ppid uint32 Ac_ppid uint32
Ac_btime uint32 Ac_btime uint32
_ [4]byte
Ac_etime uint64 Ac_etime uint64
Ac_utime uint64 Ac_utime uint64
Ac_stime uint64 Ac_stime uint64
...@@ -1189,7 +1176,6 @@ type HDGeometry struct { ...@@ -1189,7 +1176,6 @@ type HDGeometry struct {
Heads uint8 Heads uint8
Sectors uint8 Sectors uint8
Cylinders uint16 Cylinders uint16
_ [4]byte
Start uint64 Start uint64
} }
...@@ -1875,7 +1861,6 @@ type RTCTime struct { ...@@ -1875,7 +1861,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
...@@ -1893,7 +1878,6 @@ type BlkpgIoctlArg struct { ...@@ -1893,7 +1878,6 @@ type BlkpgIoctlArg struct {
Op int32 Op int32
Flags int32 Flags int32
Datalen int32 Datalen int32
_ [4]byte
Data *byte Data *byte
} }
......
...@@ -33,13 +33,11 @@ type Timeval struct { ...@@ -33,13 +33,11 @@ type Timeval struct {
type Timex struct { type Timex struct {
Modes uint32 Modes uint32
_ [4]byte
Offset int64 Offset int64
Freq int64 Freq int64
Maxerror int64 Maxerror int64
Esterror int64 Esterror int64
Status int32 Status int32
_ [4]byte
Constant int64 Constant int64
Precision int64 Precision int64
Tolerance int64 Tolerance int64
...@@ -48,7 +46,6 @@ type Timex struct { ...@@ -48,7 +46,6 @@ type Timex struct {
Ppsfreq int64 Ppsfreq int64
Jitter int64 Jitter int64
Shift int32 Shift int32
_ [4]byte
Stabil int64 Stabil int64
Jitcnt int64 Jitcnt int64
Calcnt int64 Calcnt int64
...@@ -164,7 +161,6 @@ type Fsid struct { ...@@ -164,7 +161,6 @@ type Fsid struct {
type Flock_t struct { type Flock_t struct {
Type int16 Type int16
Whence int16 Whence int16
_ [4]byte
Start int64 Start int64
Len int64 Len int64
Pid int32 Pid int32
...@@ -261,7 +257,6 @@ type RawSockaddrRFCOMM struct { ...@@ -261,7 +257,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -340,7 +335,6 @@ type PacketMreq struct { ...@@ -340,7 +335,6 @@ type PacketMreq struct {
type Msghdr struct { type Msghdr struct {
Name *byte Name *byte
Namelen uint32 Namelen uint32
_ [4]byte
Iov *Iovec Iov *Iovec
Iovlen uint64 Iovlen uint64
Control *byte Control *byte
...@@ -388,7 +382,6 @@ type TCPInfo struct { ...@@ -388,7 +382,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -658,7 +651,6 @@ type SockFilter struct { ...@@ -658,7 +651,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [6]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -702,7 +694,6 @@ type Sysinfo_t struct { ...@@ -702,7 +694,6 @@ type Sysinfo_t struct {
Freeswap uint64 Freeswap uint64
Procs uint16 Procs uint16
Pad uint16 Pad uint16
_ [4]byte
Totalhigh uint64 Totalhigh uint64
Freehigh uint64 Freehigh uint64
Unit uint32 Unit uint32
...@@ -721,7 +712,6 @@ type Utsname struct { ...@@ -721,7 +712,6 @@ type Utsname struct {
type Ustat_t struct { type Ustat_t struct {
Tfree int32 Tfree int32
_ [4]byte
Tinode uint64 Tinode uint64
Fname [6]uint8 Fname [6]uint8
Fpack [6]uint8 Fpack [6]uint8
...@@ -795,11 +785,9 @@ type Winsize struct { ...@@ -795,11 +785,9 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -817,7 +805,6 @@ type Taskstats struct { ...@@ -817,7 +805,6 @@ type Taskstats struct {
Ac_pid uint32 Ac_pid uint32
Ac_ppid uint32 Ac_ppid uint32
Ac_btime uint32 Ac_btime uint32
_ [4]byte
Ac_etime uint64 Ac_etime uint64
Ac_utime uint64 Ac_utime uint64
Ac_stime uint64 Ac_stime uint64
...@@ -1189,7 +1176,6 @@ type HDGeometry struct { ...@@ -1189,7 +1176,6 @@ type HDGeometry struct {
Heads uint8 Heads uint8
Sectors uint8 Sectors uint8
Cylinders uint16 Cylinders uint16
_ [4]byte
Start uint64 Start uint64
} }
...@@ -1875,7 +1861,6 @@ type RTCTime struct { ...@@ -1875,7 +1861,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
...@@ -1893,7 +1878,6 @@ type BlkpgIoctlArg struct { ...@@ -1893,7 +1878,6 @@ type BlkpgIoctlArg struct {
Op int32 Op int32
Flags int32 Flags int32
Datalen int32 Datalen int32
_ [4]byte
Data *byte Data *byte
} }
......
...@@ -33,13 +33,11 @@ type Timeval struct { ...@@ -33,13 +33,11 @@ type Timeval struct {
type Timex struct { type Timex struct {
Modes uint32 Modes uint32
_ [4]byte
Offset int64 Offset int64
Freq int64 Freq int64
Maxerror int64 Maxerror int64
Esterror int64 Esterror int64
Status int32 Status int32
_ [4]byte
Constant int64 Constant int64
Precision int64 Precision int64
Tolerance int64 Tolerance int64
...@@ -48,7 +46,6 @@ type Timex struct { ...@@ -48,7 +46,6 @@ type Timex struct {
Ppsfreq int64 Ppsfreq int64
Jitter int64 Jitter int64
Shift int32 Shift int32
_ [4]byte
Stabil int64 Stabil int64
Jitcnt int64 Jitcnt int64
Calcnt int64 Calcnt int64
...@@ -163,7 +160,6 @@ type Fsid struct { ...@@ -163,7 +160,6 @@ type Fsid struct {
type Flock_t struct { type Flock_t struct {
Type int16 Type int16
Whence int16 Whence int16
_ [4]byte
Start int64 Start int64
Len int64 Len int64
Pid int32 Pid int32
...@@ -260,7 +256,6 @@ type RawSockaddrRFCOMM struct { ...@@ -260,7 +256,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -339,7 +334,6 @@ type PacketMreq struct { ...@@ -339,7 +334,6 @@ type PacketMreq struct {
type Msghdr struct { type Msghdr struct {
Name *byte Name *byte
Namelen uint32 Namelen uint32
_ [4]byte
Iov *Iovec Iov *Iovec
Iovlen uint64 Iovlen uint64
Control *byte Control *byte
...@@ -387,7 +381,6 @@ type TCPInfo struct { ...@@ -387,7 +381,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -657,7 +650,6 @@ type SockFilter struct { ...@@ -657,7 +650,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [6]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -720,7 +712,6 @@ type Sysinfo_t struct { ...@@ -720,7 +712,6 @@ type Sysinfo_t struct {
Freeswap uint64 Freeswap uint64
Procs uint16 Procs uint16
Pad uint16 Pad uint16
_ [4]byte
Totalhigh uint64 Totalhigh uint64
Freehigh uint64 Freehigh uint64
Unit uint32 Unit uint32
...@@ -739,7 +730,6 @@ type Utsname struct { ...@@ -739,7 +730,6 @@ type Utsname struct {
type Ustat_t struct { type Ustat_t struct {
Tfree int32 Tfree int32
_ [4]byte
Tinode uint64 Tinode uint64
Fname [6]uint8 Fname [6]uint8
Fpack [6]uint8 Fpack [6]uint8
...@@ -812,11 +802,9 @@ type Winsize struct { ...@@ -812,11 +802,9 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -834,7 +822,6 @@ type Taskstats struct { ...@@ -834,7 +822,6 @@ type Taskstats struct {
Ac_pid uint32 Ac_pid uint32
Ac_ppid uint32 Ac_ppid uint32
Ac_btime uint32 Ac_btime uint32
_ [4]byte
Ac_etime uint64 Ac_etime uint64
Ac_utime uint64 Ac_utime uint64
Ac_stime uint64 Ac_stime uint64
...@@ -1206,7 +1193,6 @@ type HDGeometry struct { ...@@ -1206,7 +1193,6 @@ type HDGeometry struct {
Heads uint8 Heads uint8
Sectors uint8 Sectors uint8
Cylinders uint16 Cylinders uint16
_ [4]byte
Start uint64 Start uint64
} }
...@@ -1892,7 +1878,6 @@ type RTCTime struct { ...@@ -1892,7 +1878,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
...@@ -1910,7 +1895,6 @@ type BlkpgIoctlArg struct { ...@@ -1910,7 +1895,6 @@ type BlkpgIoctlArg struct {
Op int32 Op int32
Flags int32 Flags int32
Datalen int32 Datalen int32
_ [4]byte
Data *byte Data *byte
} }
......
...@@ -33,13 +33,11 @@ type Timeval struct { ...@@ -33,13 +33,11 @@ type Timeval struct {
type Timex struct { type Timex struct {
Modes uint32 Modes uint32
_ [4]byte
Offset int64 Offset int64
Freq int64 Freq int64
Maxerror int64 Maxerror int64
Esterror int64 Esterror int64
Status int32 Status int32
_ [4]byte
Constant int64 Constant int64
Precision int64 Precision int64
Tolerance int64 Tolerance int64
...@@ -48,7 +46,6 @@ type Timex struct { ...@@ -48,7 +46,6 @@ type Timex struct {
Ppsfreq int64 Ppsfreq int64
Jitter int64 Jitter int64
Shift int32 Shift int32
_ [4]byte
Stabil int64 Stabil int64
Jitcnt int64 Jitcnt int64
Calcnt int64 Calcnt int64
...@@ -162,7 +159,6 @@ type Fsid struct { ...@@ -162,7 +159,6 @@ type Fsid struct {
type Flock_t struct { type Flock_t struct {
Type int16 Type int16
Whence int16 Whence int16
_ [4]byte
Start int64 Start int64
Len int64 Len int64
Pid int32 Pid int32
...@@ -259,7 +255,6 @@ type RawSockaddrRFCOMM struct { ...@@ -259,7 +255,6 @@ type RawSockaddrRFCOMM struct {
type RawSockaddrCAN struct { type RawSockaddrCAN struct {
Family uint16 Family uint16
_ [2]byte
Ifindex int32 Ifindex int32
Addr [8]byte Addr [8]byte
} }
...@@ -338,7 +333,6 @@ type PacketMreq struct { ...@@ -338,7 +333,6 @@ type PacketMreq struct {
type Msghdr struct { type Msghdr struct {
Name *byte Name *byte
Namelen uint32 Namelen uint32
_ [4]byte
Iov *Iovec Iov *Iovec
Iovlen uint64 Iovlen uint64
Control *byte Control *byte
...@@ -386,7 +380,6 @@ type TCPInfo struct { ...@@ -386,7 +380,6 @@ type TCPInfo struct {
Probes uint8 Probes uint8
Backoff uint8 Backoff uint8
Options uint8 Options uint8
_ [2]byte
Rto uint32 Rto uint32
Ato uint32 Ato uint32
Snd_mss uint32 Snd_mss uint32
...@@ -656,7 +649,6 @@ type SockFilter struct { ...@@ -656,7 +649,6 @@ type SockFilter struct {
type SockFprog struct { type SockFprog struct {
Len uint16 Len uint16
_ [6]byte
Filter *SockFilter Filter *SockFilter
} }
...@@ -686,18 +678,15 @@ type PtracePsw struct { ...@@ -686,18 +678,15 @@ type PtracePsw struct {
type PtraceFpregs struct { type PtraceFpregs struct {
Fpc uint32 Fpc uint32
_ [4]byte
Fprs [16]float64 Fprs [16]float64
} }
type PtracePer struct { type PtracePer struct {
_ [0]uint64 _ [0]uint64
_ [24]byte _ [32]byte
_ [8]byte
Starting_addr uint64 Starting_addr uint64
Ending_addr uint64 Ending_addr uint64
Perc_atmid uint16 Perc_atmid uint16
_ [6]byte
Address uint64 Address uint64
Access_id uint8 Access_id uint8
_ [7]byte _ [7]byte
...@@ -718,7 +707,6 @@ type Sysinfo_t struct { ...@@ -718,7 +707,6 @@ type Sysinfo_t struct {
Freeswap uint64 Freeswap uint64
Procs uint16 Procs uint16
Pad uint16 Pad uint16
_ [4]byte
Totalhigh uint64 Totalhigh uint64
Freehigh uint64 Freehigh uint64
Unit uint32 Unit uint32
...@@ -737,7 +725,6 @@ type Utsname struct { ...@@ -737,7 +725,6 @@ type Utsname struct {
type Ustat_t struct { type Ustat_t struct {
Tfree int32 Tfree int32
_ [4]byte
Tinode uint64 Tinode uint64
Fname [6]int8 Fname [6]int8
Fpack [6]int8 Fpack [6]int8
...@@ -811,11 +798,9 @@ type Winsize struct { ...@@ -811,11 +798,9 @@ type Winsize struct {
type Taskstats struct { type Taskstats struct {
Version uint16 Version uint16
_ [2]byte
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Blkio_count uint64 Blkio_count uint64
...@@ -833,7 +818,6 @@ type Taskstats struct { ...@@ -833,7 +818,6 @@ type Taskstats struct {
Ac_pid uint32 Ac_pid uint32
Ac_ppid uint32 Ac_ppid uint32
Ac_btime uint32 Ac_btime uint32
_ [4]byte
Ac_etime uint64 Ac_etime uint64
Ac_utime uint64 Ac_utime uint64
Ac_stime uint64 Ac_stime uint64
...@@ -1205,7 +1189,6 @@ type HDGeometry struct { ...@@ -1205,7 +1189,6 @@ type HDGeometry struct {
Heads uint8 Heads uint8
Sectors uint8 Sectors uint8
Cylinders uint16 Cylinders uint16
_ [4]byte
Start uint64 Start uint64
} }
...@@ -1892,7 +1875,6 @@ type RTCTime struct { ...@@ -1892,7 +1875,6 @@ type RTCTime struct {
type RTCWkAlrm struct { type RTCWkAlrm struct {
Enabled uint8 Enabled uint8
Pending uint8 Pending uint8
_ [2]byte
Time RTCTime Time RTCTime
} }
...@@ -1910,7 +1892,6 @@ type BlkpgIoctlArg struct { ...@@ -1910,7 +1892,6 @@ type BlkpgIoctlArg struct {
Op int32 Op int32
Flags int32 Flags int32
Datalen int32 Datalen int32
_ [4]byte
Data *byte Data *byte
} }
......
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