commit | 116f6b8d2074931e87f4616a4d5145212ef6231b | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Oct 03 13:43:15 2022 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Tue Oct 04 09:41:06 2022 -0700 |
tree | cf83b8f8f1e42f1011285ba6389a87ecdf1b30dc | |
parent | 09e7c8bfc6256049fa4ffc9dcc1ae5a9701b8e15 [diff] |
Add binder test for transfer of non-blocking fd In input code, fds are created and made non-blocking. These fd's are then passed to another process via binder. During this process, it is (theoretically) possible that the fd will lose its "O_NONBLOCK" flag. In this CL, we ensure that a non-blocking fd created by the server remains non-blocking in the client. Bug: 217165277 Test: atest binderLibTest Change-Id: I0dc62d8b219177ee7fa291b5f3fbf298e72a7772