summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/signalfd.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/linux/signalfd.go')
-rw-r--r--pkg/abi/linux/signalfd.go4
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"`
}