commit | ed4522b9a04e9fb45b0b16df7d78629782c57843 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Dec 12 15:13:00 2018 -0800 |
committer | Nick Kralevich <nnk@google.com> | Thu Dec 13 16:07:20 2018 -0800 |
tree | fd23d4cf083666dfe42dd8c986228adc92f3d60d | |
parent | 4929a0d7821cb4fad97f1e7dc6d600caca13bd7d [diff] |
api/current.txt: Add SOCK_CLOEXEC and SOCK_NONBLOCK Android makes the function socketpair() publicly visible, but never made SOCK_CLOEXEC nor SOCK_NONBLOCK visible. Java socketpair() users have no approved flag to ensure sockets are immediately created with O_CLOEXEC, nor set the non-blocking status on sockets. socketpair() documentation: https://developer.android.com/reference/android/system/Os.html#socketpair(int,%20int,%20int,%20java.io.FileDescriptor,%20java.io.FileDescriptor) Test: compiles Bug: 120983106 Change-Id: Id7d1c853f3b00d6766ecf6dd88141da136011d6b