summaryrefslogtreecommitdiffhomepage
path: root/test/util/cleanup.h
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2019-11-04 10:56:13 -0800
committergVisor bot <gvisor-bot@google.com>2019-11-04 10:58:29 -0800
commit4fdd69d681bb3abb68a043377a2fb0ec8a031d54 (patch)
treea9f8e172d4c0692e364a240e8ce6d9de7b0a3ec8 /test/util/cleanup.h
parentb23b36e701c40827065217f4652a51eebc5f9913 (diff)
Check that a file is a regular file with open(O_TRUNC).
It was possible to panic the sentry by opening a cache revalidating folder with O_TRUNC|O_CREAT. PiperOrigin-RevId: 278417533
Diffstat (limited to 'test/util/cleanup.h')
0 files changed, 0 insertions, 0 deletions