summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/mock.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-08-27 13:50:50 -0700
committerShentubot <shentubot@google.com>2018-08-27 13:52:14 -0700
commit5999767d53d6c00d7e0f1966700e2876879f490e (patch)
tree88d7ff818cb891cba2412a2ae85bf982eb52c243 /pkg/sentry/fs/mock.go
parentb9ded9bf399422d09f2f2bd32cd4960d24b424bf (diff)
runsc: fsgofer should return a unique QID.Path for each file.
Previously, we were only using the host inode id as the QID path. But the host filesystem can have multiple devices with conflicting inode ids. This resulted in duplicate inode ids in the sentry. This CL generates a unique QID for each <host inode, host device> pair. PiperOrigin-RevId: 210424813 Change-Id: I16d106f61c7c8f910c0da4ceec562a010ffca2fb
Diffstat (limited to 'pkg/sentry/fs/mock.go')
0 files changed, 0 insertions, 0 deletions