diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-07-06 17:24:25 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-06 17:29:01 -0700 |
commit | 937912a4847cb1fd2acb79c0dd8fbc4b27695156 (patch) | |
tree | dd72f364464ec9165a29f8b49ae7c5d08e478cef /test/syscalls/linux/getrusage.cc | |
parent | b0f656184ef249182882dc323babf9e7c8ac3fc0 (diff) |
Ensure sync is called for readonly file
Calling sync on a readonly file flushes metadata that
may have been modified, like last access time.
Updates #1198
PiperOrigin-RevId: 319888290
Diffstat (limited to 'test/syscalls/linux/getrusage.cc')
0 files changed, 0 insertions, 0 deletions