summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/mq
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/kernel/mq')
-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