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

Method In

pkg/sentry/kernel/auth/id.go:127–129  ·  view source on GitHub ↗

In translates kuid into user namespace ns. If kuid is not mapped in ns, In returns NoID.

(ns *UserNamespace)

Source from the content-addressed store, hash-verified

125// In translates kuid into user namespace ns. If kuid is not mapped in ns, In
126// returns NoID.
127func (kuid KUID) In(ns *UserNamespace) UID {
128 return ns.MapFromKUID(kuid)
129}
130
131// In translates kgid into user namespace ns. If kgid is not mapped in ns, In
132// returns NoID.

Callers 15

GetuidFunction · 0.45
GeteuidFunction · 0.45
GetresuidFunction · 0.45
GetgidFunction · 0.45
GetegidFunction · 0.45
GetresgidFunction · 0.45
GetgroupsFunction · 0.45
accessAtFunction · 0.45
userifyStatxFunction · 0.45
KillFunction · 0.45
tkillSigInfoFunction · 0.45
convertStatxToUserStatFunction · 0.45

Calls 1

MapFromKUIDMethod · 0.80

Tested by

no test coverage detected