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

Method UID

pkg/sentry/fsimpl/kernfs/kernfs.go:794–794  ·  view source on GitHub ↗

UID returns the (struct stat)::st_uid value for this inode. This is separated from Stat for performance.

()

Source from the content-addressed store, hash-verified

792 // UID returns the (struct stat)::st_uid value for this inode. This is
793 // separated from Stat for performance.
794 UID() auth.KUID
795
796 // GID returns the (struct stat)::st_gid value for this inode. This is
797 // separated from Stat for performance.

Callers 9

checkDeleteLockedFunction · 0.65
LinkAtMethod · 0.65
RenameAtMethod · 0.65
ListXattrAtMethod · 0.65
GetXattrAtMethod · 0.65
SetXattrAtMethod · 0.65
RemoveXattrAtMethod · 0.65
ReadMethod · 0.65
TestExecProcListFunction · 0.65

Implementers 4

InodeAttrspkg/sentry/fsimpl/kernfs/inode_impl_ut
inodepkg/sentry/fsimpl/host/host.go
inodepkg/sentry/fsimpl/pipefs/pipefs.go
inodepkg/sentry/fsimpl/fuse/inode.go

Calls

no outgoing calls

Tested by 1

TestExecProcListFunction · 0.52