summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace/signal.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/strace/signal.go')
-rw-r--r--pkg/sentry/strace/signal.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/strace/signal.go b/pkg/sentry/strace/signal.go
index e5b379a20..5afc9525b 100644
--- a/pkg/sentry/strace/signal.go
+++ b/pkg/sentry/strace/signal.go
@@ -130,8 +130,8 @@ func sigAction(t *kernel.Task, addr hostarch.Addr) string {
return "null"
}
- sa, err := t.CopyInSignalAct(addr)
- if err != nil {
+ var sa linux.SigAction
+ if _, err := sa.CopyIn(t, addr); err != nil {
return fmt.Sprintf("%#x (error copying sigaction: %v)", addr, err)
}