diff options
author | Michael Pratt <mpratt@google.com> | 2018-09-13 14:06:34 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-09-13 14:07:47 -0700 |
commit | 9c6b38e2952650cba32e21d0719bcb0ffdc10860 (patch) | |
tree | a93d712bdecf88bb2a08462279d675fadda73d08 /pkg/sentry/strace/syscalls.go | |
parent | e2d79480f57d96ea90bb73b241f248573c2a33fc (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.go | 9 |
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 |