diff options
author | Rahat Mahmood <rahat@google.com> | 2020-10-02 12:22:34 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-02 12:24:24 -0700 |
commit | 4f462b0ed9912fa19b3a3eab6d2f08a98d364574 (patch) | |
tree | a887953e9483b7026b58538ab35b5251af7ac116 /pkg/abi/linux/signalfd.go | |
parent | ed94c0de51412a41e6657e23685dda876df31d15 (diff) |
Convert uses of the binary package in kernel to go-marshal.
PiperOrigin-RevId: 335077195
Diffstat (limited to 'pkg/abi/linux/signalfd.go')
-rw-r--r-- | pkg/abi/linux/signalfd.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/abi/linux/signalfd.go b/pkg/abi/linux/signalfd.go index 85fad9956..468c6a387 100644 --- a/pkg/abi/linux/signalfd.go +++ b/pkg/abi/linux/signalfd.go @@ -23,6 +23,8 @@ const ( ) // SignalfdSiginfo is the siginfo encoding for signalfds. +// +// +marshal type SignalfdSiginfo struct { Signo uint32 Errno int32 @@ -41,5 +43,5 @@ type SignalfdSiginfo struct { STime uint64 Addr uint64 AddrLSB uint16 - _ [48]uint8 + _ [48]uint8 `marshal:"unaligned"` } |