From 8d87a9418aacc175d7a2fa3583f40988e05946cc Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Wed, 9 Jun 2021 22:51:28 -0700 Subject: [op] Move SignalAct to abi/linux package. There were also other duplicate definitions of the same struct that I have now removed. Updates #214 PiperOrigin-RevId: 378579954 --- pkg/abi/linux/signal.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'pkg/abi') diff --git a/pkg/abi/linux/signal.go b/pkg/abi/linux/signal.go index 6ca57ffbb..cedae3014 100644 --- a/pkg/abi/linux/signal.go +++ b/pkg/abi/linux/signal.go @@ -227,6 +227,21 @@ type Sigevent struct { UnRemainder [44]byte } +// LINT.IfChange + +// SigAction represents struct sigaction. +// +// +marshal +// +stateify savable +type SigAction struct { + Handler uint64 + Flags uint64 + Restorer uint64 + Mask SignalSet +} + +// LINT.ThenChange(../../safecopy/safecopy_unsafe.go) + // Possible values for Sigevent.Notify, aka struct sigevent::sigev_notify. const ( SIGEV_SIGNAL = 0 -- cgit v1.2.3