summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace/linux64_amd64.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2020-01-28 11:12:01 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-28 11:26:09 -0800
commit76483b8b1ec4ee1fb6b6efb6bdcfaf6dba7be4ce (patch)
treeecdfac3908cf924499421e2a0abe10fb616b1ecc /pkg/sentry/strace/linux64_amd64.go
parent74e04506a430535b7f3461eb35f36c9398db735a (diff)
Check sigsetsize in rt_sigaction
This isn't in the libc wrapper, but it is in the syscall itself. Discovered by @xiaobo55x in #1625. PiperOrigin-RevId: 291973931
Diffstat (limited to 'pkg/sentry/strace/linux64_amd64.go')
-rw-r--r--pkg/sentry/strace/linux64_amd64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/strace/linux64_amd64.go b/pkg/sentry/strace/linux64_amd64.go
index 1e823b685..85ec66fd3 100644
--- a/pkg/sentry/strace/linux64_amd64.go
+++ b/pkg/sentry/strace/linux64_amd64.go
@@ -37,7 +37,7 @@ var linuxAMD64 = SyscallMap{
10: makeSyscallInfo("mprotect", Hex, Hex, Hex),
11: makeSyscallInfo("munmap", Hex, Hex),
12: makeSyscallInfo("brk", Hex),
- 13: makeSyscallInfo("rt_sigaction", Signal, SigAction, PostSigAction),
+ 13: makeSyscallInfo("rt_sigaction", Signal, SigAction, PostSigAction, Hex),
14: makeSyscallInfo("rt_sigprocmask", SignalMaskAction, SigSet, PostSigSet, Hex),
15: makeSyscallInfo("rt_sigreturn"),
16: makeSyscallInfo("ioctl", FD, Hex, Hex),