gvisor/pkg/sentry/fs/gofer
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
..
BUILD Reorder BUILD license and load functions in gvisor. 2019-10-16 16:40:30 -07:00
attr.go Update canonical repository. 2019-06-13 16:50:15 -07:00
cache_policy.go Update canonical repository. 2019-06-13 16:50:15 -07:00
context_file.go Update canonical repository. 2019-06-13 16:50:15 -07:00
device.go Update canonical repository. 2019-06-13 16:50:15 -07:00
file.go Support O_SYNC and O_DSYNC flags. 2019-10-16 15:01:23 -07:00
file_state.go Pass OpenTruncate to gofer in Open call when opening file with O_TRUNC. 2019-11-20 15:07:16 -08:00
fs.go Fix problem with open FD when copy up is triggered in overlayfs 2019-10-16 15:06:24 -07:00
gofer_test.go Plumb context through more layers of filesytem. 2019-06-13 18:40:38 -07:00
handles.go Pass OpenTruncate to gofer in Open call when opening file with O_TRUNC. 2019-11-20 15:07:16 -08:00
inode.go Pass OpenTruncate to gofer in Open call when opening file with O_TRUNC. 2019-11-20 15:07:16 -08:00
inode_state.go Update canonical repository. 2019-06-13 16:50:15 -07:00
path.go Add finalizer on AtomicRefCount to check for leaks. 2019-06-28 20:07:52 -07:00
session.go Fix problem with open FD when copy up is triggered in overlayfs 2019-10-16 15:06:24 -07:00
session_state.go Add finalizer on AtomicRefCount to check for leaks. 2019-06-28 20:07:52 -07:00
socket.go Plumb context through more layers of filesytem. 2019-06-13 18:40:38 -07:00
util.go Update canonical repository. 2019-06-13 16:50:15 -07:00