summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/mq/mq.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-11-01 23:12:31 +0000
committergVisor bot <gvisor-bot@google.com>2021-11-01 23:12:31 +0000
commitaac9c42f3e58cced50246227469b3c4a300c5678 (patch)
treea57c86f5faf4db4705df8e6820f9d771ccd8eeb0 /pkg/sentry/kernel/mq/mq.go
parent76d5839bc55623bce2cb80f4a1cf5cbed2a6a179 (diff)
parent9776edb3fa9e67a28182aedc9342ef9c1b556d7c (diff)
Merge release-20211026.0-19-g9776edb3f (automated)
Diffstat (limited to 'pkg/sentry/kernel/mq/mq.go')
-rw-r--r--pkg/sentry/kernel/mq/mq.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/mq/mq.go b/pkg/sentry/kernel/mq/mq.go
index 07482decf..7515a2772 100644
--- a/pkg/sentry/kernel/mq/mq.go
+++ b/pkg/sentry/kernel/mq/mq.go
@@ -399,7 +399,7 @@ func (q *Queue) Flush(ctx context.Context) {
q.mu.Lock()
defer q.mu.Unlock()
- pid, ok := context.ThreadGroupIDFromContext(ctx)
+ pid, ok := auth.ThreadGroupIDFromContext(ctx)
if ok {
if q.subscriber != nil && pid == q.subscriber.pid {
q.subscriber = nil