summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace/syscalls.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/strace/syscalls.go')
-rw-r--r--pkg/sentry/strace/syscalls.go7
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