commit | 24ad36eec712d42f972b4b83311c86aa0b37e3b7 | [log] [tgz] |
---|---|---|
author | Andrei Homescu <ahomescu@google.com> | Thu Aug 04 01:33:33 2022 +0000 |
committer | Andrei Homescu <ahomescu@google.com> | Tue Aug 16 21:58:41 2022 +0000 |
tree | ebfe4315fa402676639ba574964aecfeea7ccd67 | |
parent | a8fa78c5fdb652375440aa2b4b412e9e0bbc4c6d [diff] |
libbinder: build ParcelFileDescriptor on Trusty Adds ParcelFileDescriptor.cpp to the Trusty build which in turn compiles some extra related code from Parcel.cpp. This code uses fcntl(...O_DUPFD_CLOEXEC...) to duplicate file descriptors which is not available on Trusty (or other OSes), so we abstract the relevant calls to that function in a wrapper in OS.cpp. Bug: 224644083 Test: m Test: build on Trusty Change-Id: I2e0ee517e7c7b55458a6ee6db977985aab4d7c58