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

TypeAlias KUID

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

In the root user namespace, user/group IDs have a 1-to-1 relationship with the users/groups they represent. In other user namespaces, this is not the case; for example, two different unmapped users may both "have" the overflow UID. This means that it is generally only valid to compare user and group

Source from the content-addressed store, hash-verified

38
39// KUID is a user ID in the root user namespace.
40type KUID uint32
41
42// KGID is a group ID in the root user namespace.
43type KGID uint32

Callers 15

userifyStatxFunction · 0.92
convertStatxToUserStatFunction · 0.92
convertStatxToUserStatFunction · 0.92
checkDeleteLockedFunction · 0.92
RenameAtMethod · 0.92
UIDMethod · 0.92
SetStatMethod · 0.92
CheckPermissionsMethod · 0.92
CheckPermissionsMethod · 0.92
UIDMethod · 0.92
SetStatMethod · 0.92
user.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected