summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-08-04 09:34:19 -0700
committerElliott Hughes <enh@google.com>2017-08-04 10:20:18 -0700
commitb115aefbb3a472c605e167e09d14b1a797337e77 (patch)
tree4167aea0a211331deb64f66e3dfd6d931d20f246 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parentcc3639b3eeb30cc4e994714254e8f995e77b30bf (diff)
With O_TMPFILE, open(2) takes a mode argument.
Strictly, the mode isn't really meaningful unless you supply O_EXCL, but the kernel will take it and fstat will return it even if you never give the file a name. Also warn for O_TMPFILE without a mode at compile time where possible. Bug: N/A Test: ran tests Change-Id: I729b6d6e6190676fd017a1190b6200bf9abdbfd8
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions