MCPcopy Index your code
hub / github.com/google/gvisor / Stat

Method Stat

pkg/sentry/kernel/msgqueue/msgqueue.go:524–526  ·  view source on GitHub ↗

Stat returns a MsqidDS object filled with information about the queue. See msgctl(IPC_STAT) and msgctl(MSG_STAT).

(ctx context.Context)

Source from the content-addressed store, hash-verified

522// Stat returns a MsqidDS object filled with information about the queue. See
523// msgctl(IPC_STAT) and msgctl(MSG_STAT).
524func (q *Queue) Stat(ctx context.Context) (*linux.MsqidDS, error) {
525 return q.stat(ctx, vfs.MayRead)
526}
527
528// StatAny is similar to Queue.Stat, but doesn't require read permission. See
529// msgctl(MSG_STAT_ANY).

Callers

nothing calls this directly

Calls 1

statMethod · 0.95

Tested by

no test coverage detected