commit | 71379b76984508cb7f498cdb9350bba0c18b0340 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Wed Jan 27 08:02:48 2016 -0800 |
committer | Alain Vongsouvanh <alainv@google.com> | Thu Jan 28 17:23:59 2016 -0800 |
tree | a1e266459791b84d37b6a1988afb1255eb12fdd8 | |
parent | d40445a7cd59a89e07356033c107983a318e05c0 [diff] |
system_server BINDER_TYPE_FD sockets using ashmem accessors check if device is a character device, before calling ashmem_get_size_region. We do not check if the st_rdev matches /dev/ashmem. So this at least eliminates making this call when associated with a socket. Bug: 26374183 Change-Id: I68ed9d1c2cd4c47228ed065e3e18eb4151f038f4 (cherry picked from AOSP commit eab2afc7ac5183750a23693ecee89dad7f7abf5f)