gvisor/pkg/sentry/control
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
..
BUILD Plumb VFS2 inside the Sentry 2020-02-14 11:12:47 -08:00
control.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
logging.go Allow to change logging options using 'runsc debug' 2019-06-24 15:03:02 -07:00
pprof.go Update comments and debug level for profiling options. 2020-03-06 15:23:46 -08:00
proc.go Use host-defined file owner and mode, when possible, for imported fds. 2020-03-26 16:47:20 -07:00
proc_test.go Implement TTY field in control.Processes(). 2019-12-06 14:34:13 -08:00
state.go Update canonical repository. 2019-06-13 16:50:15 -07:00