gvisor/pkg/sentry
Nicolas Lacasse 012102eefd Pass OpenTruncate to gofer in Open call when opening file with O_TRUNC.
Note that the Sentry still calls Truncate() on the file before calling Open.

A new p9 version check was added to ensure that the p9 server can handle the
the OpenTruncate flag. If not, then the flag is stripped before sending.

PiperOrigin-RevId: 281609112
2019-11-20 15:07:16 -08:00
..
arch Reorder BUILD license and load functions in gvisor. 2019-10-16 16:40:30 -07:00
context Add context to state. 2019-10-31 18:03:24 -07:00
control Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
device Reorder BUILD license and load functions in gvisor. 2019-10-16 16:40:30 -07:00
fs Pass OpenTruncate to gofer in Open call when opening file with O_TRUNC. 2019-11-20 15:07:16 -08:00
fsimpl Add support for pipes in VFS2. 2019-10-19 11:49:38 -07:00
hostcpu Enable pkg/sentry/hostcpu support on arm64. 2019-09-18 23:51:42 +00:00
hostmm Update canonical repository. 2019-06-13 16:50:15 -07:00
inet Add endpoint tracking to the stack. 2019-10-29 16:14:51 -07:00
kernel Fix some build errors on arm64. 2019-11-13 06:46:02 +00:00
limits Reorder BUILD license and load functions in gvisor. 2019-10-16 16:40:30 -07:00
loader Fix some build errors on arm64. 2019-11-13 06:46:02 +00:00
memmap Reorder BUILD license and load functions in gvisor. 2019-10-16 16:40:30 -07:00
mm Reorder BUILD license and load functions in gvisor. 2019-10-16 16:40:30 -07:00
pgalloc Add context to state. 2019-10-31 18:03:24 -07:00
platform platform/ptrace: use host.GetCPU instead of the getcpu syscall 2019-11-18 14:56:49 -08:00
safemem Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
sighandling Update FIXME bug with GitHub issue. 2019-09-30 17:24:29 -07:00
socket Add support for TIME_WAIT timeout. 2019-11-07 09:46:55 -08:00
state netstack: Don't start endpoint goroutines too soon on restore. 2019-08-08 12:33:11 -07:00
strace Rename epsocket to netstack. 2019-10-07 13:57:59 -07:00
syscalls Pass OpenTruncate to gofer in Open call when opening file with O_TRUNC. 2019-11-20 15:07:16 -08:00
time Reorder BUILD license and load functions in gvisor. 2019-10-16 16:40:30 -07:00
unimpl internal BUILD file cleanup. 2019-09-23 08:25:13 -07:00
uniqueid Update canonical repository. 2019-06-13 16:50:15 -07:00
usage Reorder BUILD license and load functions in gvisor. 2019-10-16 16:40:30 -07:00
usermem Avoid unnecessary slice allocation in usermem.BytesIO.blocksFromAddrRanges(). 2019-11-14 14:04:58 -08:00
vfs Add vfs.GenericParseMountOptions(). 2019-11-18 16:26:28 -08:00
watchdog Allow the watchdog to detect when the sandbox is stuck during setup. 2019-11-01 11:49:31 -07:00
BUILD go_marshal: Implement automatic generation of ABI marshalling code. 2019-09-09 13:36:39 -07:00