gvisor/pkg
Nicolas Lacasse 3ad17ff597 Force timestamps to update when set via InodeOperations.SetTimestamps.
The gofer's CachingInodeOperations implementation contains an optimization for
the common open-read-close pattern when we have a host FD.  In this case, the
host kernel will update the timestamp for us to a reasonably close time, so we
don't need an extra RPC to the gofer.

However, when the app explicitly sets the timestamps (via futimes or similar)
then we actually DO need to update the timestamps, because the host kernel
won't do it for us.

To fix this, a new boolean `forceSetTimestamps` was added to
CachineInodeOperations.SetMaskedAttributes. It is only set by
gofer.InodeOperations.SetTimestamps.

PiperOrigin-RevId: 272048146
2019-09-30 13:08:45 -07:00
..
abi Signalfd support 2019-09-18 15:16:42 -07:00
amutex Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
atomicbitops Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
binary Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
bits Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
bpf Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
compressio Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
control Update canonical repository. 2019-06-13 16:50:15 -07:00
cpuid Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
eventchannel Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
fd Merge pull request #765 from trailofbits:uds_support 2019-09-25 16:44:22 -07:00
fdchannel Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
fdnotifier Change syscall.EPOLLET to unix.EPOLLET 2019-08-05 23:10:08 +00:00
flipcall Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
fspath Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
gate Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
ilist Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
linewriter Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
log Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
memutil Update canonical repository. 2019-06-13 16:50:15 -07:00
metric internal BUILD file cleanup. 2019-09-23 08:25:13 -07:00
p9 Add test for concurrent reads and writes. 2019-09-23 16:44:30 -07:00
procid Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
rand Update canonical repository. 2019-06-13 16:50:15 -07:00
refs Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
seccomp gvisor: change syscall.RawSyscall to syscall.RawSyscall6 where required 2019-09-24 23:47:42 -07:00
secio Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
segment Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
sentry Force timestamps to update when set via InodeOperations.SetTimestamps. 2019-09-30 13:08:45 -07:00
sleep Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
state Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
syserr netstack/udp: connect with the AF_UNSPEC address family means disconnect 2019-07-03 14:19:02 -07:00
syserror Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
tcpip Implement SO_BINDTODEVICE sockopt 2019-09-27 14:14:04 -07:00
tmutex Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
unet Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
urpc Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
waiter Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00