summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch/signal.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-06-10 08:05:12 +0000
committergVisor bot <gvisor-bot@google.com>2021-06-10 08:05:12 +0000
commit0eba475c75871c21aac849203c3f344dc84f5790 (patch)
tree9eb44283b7d8c6b054bbaa1cb9c56effc2190704 /pkg/sentry/arch/signal.go
parentb6d9ec9af725a7b070e7d476692074f8904ddebe (diff)
parenta51fcf22ebe522c028e99692bbedf04daf0436cc (diff)
Merge release-20210601.0-34-ga51fcf22e (automated)
Diffstat (limited to 'pkg/sentry/arch/signal.go')
-rw-r--r--pkg/sentry/arch/signal.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/pkg/sentry/arch/signal.go b/pkg/sentry/arch/signal.go
index 3e601b17e..b9fd14d10 100644
--- a/pkg/sentry/arch/signal.go
+++ b/pkg/sentry/arch/signal.go
@@ -19,28 +19,6 @@ import (
"gvisor.dev/gvisor/pkg/hostarch"
)
-// SignalStack represents information about a user stack, and is equivalent to
-// stack_t.
-//
-// +marshal
-// +stateify savable
-type SignalStack struct {
- Addr uint64
- Flags uint32
- _ uint32
- Size uint64
-}
-
-// SerializeFrom implements NativeSignalStack.SerializeFrom.
-func (s *SignalStack) SerializeFrom(other *SignalStack) {
- *s = *other
-}
-
-// DeserializeTo implements NativeSignalStack.DeserializeTo.
-func (s *SignalStack) DeserializeTo(other *SignalStack) {
- *other = *s
-}
-
// SignalInfo represents information about a signal being delivered, and is
// equivalent to struct siginfo in linux kernel(linux/include/uapi/asm-generic/siginfo.h).
//