diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-02-24 10:07:45 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-24 10:07:45 +0000 |
commit | a004d3309c5d8320408b4661940e6b0839eef69b (patch) | |
tree | a1295517d02e17401932b9f0db45523f5a475868 /pkg/sentry/kernel/task.go | |
parent | 2b0d4ebbbaa18506fdba8988210fc0f2009ca379 (diff) | |
parent | acd516cfe2920006a5d2760c78bd2245d498023a (diff) |
Merge release-20210208.0-85-gacd516cfe (automated)
Diffstat (limited to 'pkg/sentry/kernel/task.go')
-rw-r--r-- | pkg/sentry/kernel/task.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/task.go b/pkg/sentry/kernel/task.go index c0ab53c94..36141dd09 100644 --- a/pkg/sentry/kernel/task.go +++ b/pkg/sentry/kernel/task.go @@ -403,6 +403,13 @@ type Task struct { // ptraceEventMsg is protected by the TaskSet mutex. ptraceEventMsg uint64 + // ptraceYAMAExceptionAdded is true if a YAMA exception involving the task has + // been added before. This is used during task exit to decide whether we need + // to clean up YAMA exceptions. + // + // ptraceYAMAExceptionAdded is protected by the TaskSet mutex. + ptraceYAMAExceptionAdded bool + // The struct that holds the IO-related usage. The ioUsage pointer is // immutable. ioUsage *usage.IO |