summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2018-12-11 15:32:23 -0800
committerShentubot <shentubot@google.com>2018-12-11 15:33:14 -0800
commit2b6df6a2049e839e39717f90c1760f3d410c98f1 (patch)
tree011cd5f6f38c8c273bd0e45982e218b6c813aee6 /pkg/sentry/strace
parent437f567ff7e6e3f86c97e290035911f7158276bf (diff)
Format unshare flags
unshare actually takes a subset of clone flags, but has no unique flags, so formatting as clone flags is close enough. PiperOrigin-RevId: 225082774 Change-Id: I5b580f18607c7785f323e37809094115520a17c0
Diffstat (limited to 'pkg/sentry/strace')
-rw-r--r--pkg/sentry/strace/linux64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/strace/linux64.go b/pkg/sentry/strace/linux64.go
index 9457e24b5..e8fb711a5 100644
--- a/pkg/sentry/strace/linux64.go
+++ b/pkg/sentry/strace/linux64.go
@@ -289,7 +289,7 @@ var linuxAMD64 = SyscallMap{
269: makeSyscallInfo("faccessat", Hex, Path, Oct, Hex),
270: makeSyscallInfo("pselect6", Hex, Hex, Hex, Hex, Hex, Hex),
271: makeSyscallInfo("ppoll", Hex, Hex, Timespec, SigSet, Hex),
- 272: makeSyscallInfo("unshare", Hex),
+ 272: makeSyscallInfo("unshare", CloneFlags),
273: makeSyscallInfo("set_robust_list", Hex, Hex),
274: makeSyscallInfo("get_robust_list", Hex, Hex, Hex),
275: makeSyscallInfo("splice", Hex, Hex, Hex, Hex, Hex, Hex),