gvisor/runsc/boot
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
..
filter Whitelist utimensat(2). 2020-03-19 23:30:21 -07:00
platforms Standardize on tools directory. 2020-01-27 12:21:00 -08:00
pprof Initial network namespace support. 2020-02-20 15:20:40 -08:00
BUILD Initial network namespace support. 2020-02-20 15:20:40 -08:00
compat.go Cleanup glog and add real caller information. 2020-01-27 16:08:35 -08:00
compat_amd64.go Merge pull request #1233 from xiaobo55x:compatLog 2019-12-06 19:41:39 -08:00
compat_arm64.go Merge pull request #1233 from xiaobo55x:compatLog 2019-12-06 19:41:39 -08:00
compat_test.go Merge pull request #1233 from xiaobo55x:compatLog 2019-12-06 19:41:39 -08:00
config.go Allow to specify a separate log for GO's runtime messages 2020-02-28 11:24:11 -08:00
controller.go add profile option 2020-02-26 16:49:51 +09:00
debug.go Update canonical repository. 2019-06-13 16:50:15 -07:00
events.go Update canonical repository. 2019-06-13 16:50:15 -07:00
fds.go Use host-defined file owner and mode, when possible, for imported fds. 2020-03-26 16:47:20 -07:00
fs.go Update package locations. 2020-01-27 15:31:32 -08:00
fs_test.go Make annotations OCI compliant 2019-12-06 13:51:38 -08:00
limits.go New sync package. 2020-01-09 22:02:24 -08:00
loader.go Initial network namespace support. 2020-02-20 15:20:40 -08:00
loader_amd64.go Merge pull request #1176 from xiaobo55x:runsc_boot 2019-11-25 11:01:22 -08:00
loader_arm64.go Merge pull request #1176 from xiaobo55x:runsc_boot 2019-11-25 11:01:22 -08:00
loader_test.go Update package locations. 2020-01-27 15:31:32 -08:00
network.go Initial network namespace support. 2020-02-20 15:20:40 -08:00
strace.go Update canonical repository. 2019-06-13 16:50:15 -07:00
user.go Update package locations. 2020-01-27 15:31:32 -08:00
user_test.go Update package locations. 2020-01-27 15:31:32 -08:00