137f361400
Using the host-defined file owner matches VFS1. It is more correct to use the host-defined mode, since the cached value may become out of date. However, kernfs.Inode.Mode() does not return an error--other filesystems on kernfs are in-memory so retrieving mode should not fail. Therefore, if the host syscall fails, we rely on a cached value instead. Updates #1672. PiperOrigin-RevId: 303220864 |
||
---|---|---|
.. | ||
boot | ||
cgroup | ||
cmd | ||
console | ||
container | ||
criutil | ||
debian | ||
dockerutil | ||
flag | ||
fsgofer | ||
sandbox | ||
specutils | ||
testutil | ||
BUILD | ||
main.go | ||
version.go | ||
version_test.sh |