gvisor/runsc
Dean Deng 137f361400 Use host-defined file owner and mode, when possible, for imported fds.
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
2020-03-26 16:47:20 -07:00
..
boot Use host-defined file owner and mode, when possible, for imported fds. 2020-03-26 16:47:20 -07:00
cgroup
cmd Improve error message when pivot_root fails 2020-03-19 20:18:03 -07:00
console Standardize on tools directory. 2020-01-27 12:21:00 -08:00
container Kill sandbox process when parent process terminates 2020-03-12 12:32:26 -07:00
criutil
debian
dockerutil
flag
fsgofer Support listxattr and removexattr syscalls. 2020-02-07 14:47:13 -08:00
sandbox Kill sandbox process when parent process terminates 2020-03-12 12:32:26 -07:00
specutils
testutil
BUILD
main.go
version.go Fix `runsc --version` and add a test. 2019-09-10 15:41:47 -07:00
version_test.sh Standardize on tools directory. 2020-01-27 12:21:00 -08:00