diff options
author | Michael Pratt <mpratt@google.com> | 2018-10-01 14:15:52 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-01 14:16:53 -0700 |
commit | 0400e5459288592768af12ab71609c6df6afe3d7 (patch) | |
tree | b8c522749a19aa467b62d097a6b58042d0f971d2 /pkg/sentry/strace/syscalls.go | |
parent | d185552e79e19bd25cdcf64c123712086c48ae58 (diff) |
Add itimer types to linux package, strace
PiperOrigin-RevId: 215278262
Change-Id: Icd10384c99802be6097be938196044386441e282
Diffstat (limited to 'pkg/sentry/strace/syscalls.go')
-rw-r--r-- | pkg/sentry/strace/syscalls.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkg/sentry/strace/syscalls.go b/pkg/sentry/strace/syscalls.go index 770a0d2b9..8be4fa318 100644 --- a/pkg/sentry/strace/syscalls.go +++ b/pkg/sentry/strace/syscalls.go @@ -150,6 +150,9 @@ const ( // Utimbuf is a pointer to a struct utimbuf. Utimbuf + // Rusage is a struct rusage, formatted after syscall execution. + Rusage + // CloneFlags are clone(2) flags. CloneFlags @@ -165,8 +168,8 @@ const ( // PtraceRequest is the ptrace(2) request. PtraceRequest - // Rusage is a struct rusage, formatted after syscall execution. - Rusage + // ItimerType is an itimer type (ITIMER_REAL, etc). + ItimerType ) // defaultFormat is the syscall argument format to use if the actual format is |