diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2020-07-23 17:40:46 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-23 17:42:50 -0700 |
commit | 4ec351633206fdbd191bc3aef29a007925a731cc (patch) | |
tree | ef71fa86a6d319145a268e0c8e461b8dbef7ca0e /pkg/sentry/kernel/task.go | |
parent | 5e34ee68c93888eba3d56a2b713dbeebf406efa3 (diff) |
Implement get/set_robust_list.
PiperOrigin-RevId: 322904430
Diffstat (limited to 'pkg/sentry/kernel/task.go')
-rw-r--r-- | pkg/sentry/kernel/task.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/task.go b/pkg/sentry/kernel/task.go index b3d655b6e..c4db05bd8 100644 --- a/pkg/sentry/kernel/task.go +++ b/pkg/sentry/kernel/task.go @@ -565,6 +565,10 @@ type Task struct { // futexWaiter is exclusive to the task goroutine. futexWaiter *futex.Waiter `state:"nosave"` + // robustList is a pointer to the head of the tasks's robust futex + // list. + robustList usermem.Addr + // startTime is the real time at which the task started. It is set when // a Task is created or invokes execve(2). // |