summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace/strace.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-04-18 12:38:29 -0700
committerShentubot <shentubot@google.com>2019-04-18 12:39:35 -0700
commitce64d9ebf03b1efac3e8c2b9ddafb02aafed9f33 (patch)
treed553e38cf4bdf137a296a59cb29be33d7cd84f16 /pkg/sentry/strace/strace.go
parent133700007a8495c7d8df53801b1d34345d6c5cf8 (diff)
Keep symlink target open while in test that compares inode ids.
Inode ids are only guaranteed to be stable across save/restore if the file is held open. This CL fixes a simple stat test to allow it to compare symlink and target by inode id, as long as the link target is held open. PiperOrigin-RevId: 244238343 Change-Id: I74c5115915b1cc032a4c16515a056a480f218f00
Diffstat (limited to 'pkg/sentry/strace/strace.go')
0 files changed, 0 insertions, 0 deletions