diff options
author | Shubham Ajmera <shubhamajmera@google.com> | 2016-10-15 11:49:17 +0100 |
---|---|---|
committer | Shubham Ajmera <shubhamajmera@google.com> | 2016-10-26 10:49:27 +0000 |
commit | b6f60a9579757086ae3032197ec9e97c1fe9bf4b (patch) | |
tree | 4c3f2bc25858941dc9c132d9b809e1b5cca2260c /annotations/generate_annotated_java_files.py | |
parent | 60ede55d348486e848c46944a97442c2c2ee229e (diff) |
Fix SocketTaggingTest#testSocket
The openJDK implementation untags the socketDescriptor after dup2-ing it
to the marker_fd. As a result, the socketDescriptor was pointing to
different files at tagging and untagging.
Now with this change, sockets get untagged when the close is first
called.
Test: cts-tradefed run cts -m CtsLibcoreTestCases -t \
libcore.dalvik.system.SocketTaggingTest
Bug: 27376593
Change-Id: I0fe917fa545eb42a38929ebe2337e3f76fd6cfe3
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions