diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-01-27 08:02:48 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-07-15 13:04:30 -0700 |
commit | d70043eaf41b911c464cf62d5f79aac8697aeb6b (patch) | |
tree | 5077f2e9d2bffd2c18b5ab53f345c21bf69b498f /data | |
parent | e481771aa3de37a8cf01a36c5637f0cc48506205 (diff) | |
download | frameworks_native-d70043eaf41b911c464cf62d5f79aac8697aeb6b.zip frameworks_native-d70043eaf41b911c464cf62d5f79aac8697aeb6b.tar.gz frameworks_native-d70043eaf41b911c464cf62d5f79aac8697aeb6b.tar.bz2 |
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
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions