MCPcopy
hub / github.com/google/gvisor / StatAny

Method StatAny

pkg/sentry/kernel/msgqueue/msgqueue.go:530–532  ·  view source on GitHub ↗

StatAny is similar to Queue.Stat, but doesn't require read permission. See msgctl(MSG_STAT_ANY).

(ctx context.Context)

Source from the content-addressed store, hash-verified

528// StatAny is similar to Queue.Stat, but doesn't require read permission. See
529// msgctl(MSG_STAT_ANY).
530func (q *Queue) StatAny(ctx context.Context) (*linux.MsqidDS, error) {
531 return q.stat(ctx, 0)
532}
533
534// stat returns a MsqidDS object filled with information about the queue. An
535// error is returned if the user doesn't have the specified permissions.

Callers 1

MsgctlFunction · 0.80

Calls 1

statMethod · 0.95

Tested by

no test coverage detected