diff options
author | Josh Gao <jmgao@google.com> | 2018-06-26 15:05:11 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2018-07-16 14:14:06 -0700 |
commit | cf3c7fa61da662e8e1126c3443e22b1e9d5eaec9 (patch) | |
tree | 86ef995620f89570c05a58927e3335ba7768c8e7 /annotations/generate_annotated_java_files.py | |
parent | b297cc434d0b30935779ba6f96b556eb0aaa04be (diff) |
Add support for bionic fd ownership enforcement.
Add APIs to support the use of bionic's file descriptor ownership
enforcement with java.io.FileDescriptor.
This commit also changes behavior in two ways:
- IoBridge.closeAndSignalBlockedThreads can now throw if close fails.
bionic hides EINTR in its close wrapper, so this should only make
a difference if we fail with EIO (with behavior matching the
reference implementation).
- IoUtils.close will always signal blocked threads.
Bug: http://b/110100358
Test: treehugger
Change-Id: Ib2a77cf07ad1283911279df03c6de3f6726181a4
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions