summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace/syscalls.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2018-09-13 14:06:34 -0700
committerShentubot <shentubot@google.com>2018-09-13 14:07:47 -0700
commit9c6b38e2952650cba32e21d0719bcb0ffdc10860 (patch)
treea93d712bdecf88bb2a08462279d675fadda73d08 /pkg/sentry/strace/syscalls.go
parente2d79480f57d96ea90bb73b241f248573c2a33fc (diff)
Format struct itimerspec
PiperOrigin-RevId: 212874745 Change-Id: I0c3e8e6a9e8976631cee03bf0b8891b336ddb8c8
Diffstat (limited to 'pkg/sentry/strace/syscalls.go')
-rw-r--r--pkg/sentry/strace/syscalls.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkg/sentry/strace/syscalls.go b/pkg/sentry/strace/syscalls.go
index 4513d1ba6..770a0d2b9 100644
--- a/pkg/sentry/strace/syscalls.go
+++ b/pkg/sentry/strace/syscalls.go
@@ -132,10 +132,17 @@ const (
// ItimerVal is a pointer to a struct itimerval.
ItimerVal
- // ItimerVal is a pointer to a struct itimerval, formatted after
+ // PostItimerVal is a pointer to a struct itimerval, formatted after
// syscall execution.
PostItimerVal
+ // ItimerSpec is a pointer to a struct itimerspec.
+ ItimerSpec
+
+ // PostItimerSpec is a pointer to a struct itimerspec, formatted after
+ // syscall execution.
+ PostItimerSpec
+
// Timeval is a pointer to a struct timeval, formatted before and after
// syscall execution.
Timeval