From 9c6b38e2952650cba32e21d0719bcb0ffdc10860 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Thu, 13 Sep 2018 14:06:34 -0700 Subject: Format struct itimerspec PiperOrigin-RevId: 212874745 Change-Id: I0c3e8e6a9e8976631cee03bf0b8891b336ddb8c8 --- pkg/sentry/strace/linux64.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg/sentry/strace/linux64.go') diff --git a/pkg/sentry/strace/linux64.go b/pkg/sentry/strace/linux64.go index 7a1eb581d..63851246c 100644 --- a/pkg/sentry/strace/linux64.go +++ b/pkg/sentry/strace/linux64.go @@ -240,8 +240,8 @@ var linuxAMD64 = SyscallMap{ 220: makeSyscallInfo("semtimedop", Hex, Hex, Hex, Hex), 221: makeSyscallInfo("fadvise64", Hex, Hex, Hex, Hex), 222: makeSyscallInfo("timer_create", Hex, Hex, Hex), - 223: makeSyscallInfo("timer_settime", Hex, Hex, Hex, Hex), - 224: makeSyscallInfo("timer_gettime", Hex, Hex), + 223: makeSyscallInfo("timer_settime", Hex, Hex, ItimerSpec, PostItimerSpec), + 224: makeSyscallInfo("timer_gettime", Hex, PostItimerSpec), 225: makeSyscallInfo("timer_getoverrun", Hex), 226: makeSyscallInfo("timer_delete", Hex), 227: makeSyscallInfo("clock_settime", Hex, Timespec), @@ -303,8 +303,8 @@ var linuxAMD64 = SyscallMap{ 283: makeSyscallInfo("timerfd_create", Hex, Hex), 284: makeSyscallInfo("eventfd", Hex), 285: makeSyscallInfo("fallocate", Hex, Hex, Hex, Hex), - 286: makeSyscallInfo("timerfd_settime", Hex, Hex, Hex, Hex), - 287: makeSyscallInfo("timerfd_gettime", Hex, Hex), + 286: makeSyscallInfo("timerfd_settime", Hex, Hex, ItimerSpec, PostItimerSpec), + 287: makeSyscallInfo("timerfd_gettime", Hex, PostItimerSpec), 288: makeSyscallInfo("accept4", Hex, PostSockAddr, SockLen, SockFlags), 289: makeSyscallInfo("signalfd4", Hex, Hex, Hex, Hex), 290: makeSyscallInfo("eventfd2", Hex, Hex), -- cgit v1.2.3