| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit 'bb686c25b214edadd1830abd056db2d570d716ff':
Disregard alleged binder entities beyond parcel bounds
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When appending one parcel's contents to another, ignore binder
objects within the source Parcel that appear to lie beyond the
formal bounds of that Parcel's data buffer.
Bug 17312693
Change-Id: If592a260f3fcd9a56fc160e7feb2c8b44c73f514
(cherry picked from commit 27182be9f20f4f5b48316666429f09b9ecc1f22e)
|
|\ \
| |/
| |
| |
| | |
* commit '4ff0cb4404db31576cd8a81ca5ef3b044d492904':
Verify that the native handle was created
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The inputs to native_handle_create can cause an overflowed allocation,
so check the return value of native_handle_create before accessing
the memory it returns.
Bug:19334482
Change-Id: I1f489382776c2a1390793a79dc27ea17baa9b2a2
(cherry picked from commit eaac99a7172da52a76ba48c26413778a74951b1a)
|
|\ \
| |/
| |
| |
| | |
* commit '5b61ad2cda8ec8ab634ce02f388bb2d3c5ab048d':
Check the padded size of the read byte array
|
| |
| |
| |
| |
| | |
Bug: 13509200
Change-Id: Id93894fcc617ec1cd4ce66921c6e1f1c3cf40b09
|
|\ \
| |/
| |
| |
| | |
* commit 'f0190bff38b6c29abbfc4a877442f71fc3d7dad8':
Add support for writing byte arrays to parcels
|
| |
| |
| |
| |
| |
| | |
b/13418320
Change-Id: I2285df9e9d3dc8a6a54055b13b352b81660bf45d
|
|\ \
| |/
| |
| |
| |
| |
| | |
old binder kernel interface
* commit '6790329358d1c84af2fe9ba093bcfc1c6176e758':
Fix "Binder: Make sure binder objects do not overlap" to work old binder kernel interface
|
| |
| |
| |
| |
| |
| |
| |
| | |
kernel interface
DO NOT MERGE into any branch that uses the new interface
Change-Id: Id54308a89327e69a389ac5916c052ad97f57cb28
|
|\ \
| |/
| |
| |
| | |
* commit 'f50b9eaaeeaeae16981f11b05d3f3a6fb0dea30d':
Binder: Make sure binder objects do not overlap
|
| |
| |
| |
| |
| |
| |
| | |
Fixes crashing part of bug 11355082.
The driver still leaks references.
Change-Id: Ibc6a63b151c1fc1f7666237f25255ba781e02071
|
|\ \
| |/
|/|
| |
| | |
* commit 'f2f74ca65f34ae0cae6f0cca40f1c18aa771739d':
Remove references to obsolete pmem functionality.
|
| |
| |
| |
| | |
Change-Id: I5d3befd075e51614e6801115388a0a9f32fbb6ea
|
| |
| |
| |
| |
| |
| |
| |
| | |
Cherrypicked from master.
b/9464621
Change-Id: I54c0ed50a57ac870da91db8589a73a2c792dbd8d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fallout from the Flattenable change, update all its uses.
Additionnaly, fix/tighten size checks when (un)flatten()ing
things.
Removed the assumption by some flattenables (e.g.: Fence)
that the size passed to them would be exact (it can
and will be larger in some cases)
The code in Parcel is a bit complicated so that we don't
have to expose the full implementation (and also to
keep the code smallish).
Change-Id: I0bf1c8aca2a3128491b4f45510bc46667e566dde
|
| |
| |
| |
| |
| |
| |
| | |
If the service manager is not ready when we attempt to create a local
proxy, fail and retry.
Change-Id: I7d7300bc07cd70608793479aa3da282d066da7f6
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I30c7291b04788c98faa43843a51b026b8a01932c
|
|/ /
| |
| |
| |
| |
| | |
Need unlock the mutex after finish the getToken operation.
Change-Id: Icd83b383913d06e4d60976857aa314c3008ebea1
|
| |
| |
| |
| | |
Change-Id: Ibbce3bf6556f45751c74bab045b46377e56bff9b
|
| |
| |
| |
| | |
Change-Id: I1853b21eaa45d85274189dfd72f73fec48d0d6b7
|
|\ \
| |/
| |
| |
| |
| |
| | |
compatibility symbol for the MemoryBase constructor.""
* commit '54d97c88b57d2c341f0629c9648d4400a34e4f41':
Revert "Second try at adding a compatibility symbol for the MemoryBase constructor."
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
compatibility symbol for the MemoryBase constructor.""
* commit '9da67a9427f695128b5da61c8f987fd9198a5e05':
Revert "Second try at adding a compatibility symbol for the MemoryBase constructor."
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
the MemoryBase constructor.""
* commit '674816078588d0951c3c9bdaf26ecc9e9b3f2e0a':
Revert "Second try at adding a compatibility symbol for the MemoryBase constructor."
|
| | | |\
| | | | |
| | | | |
| | | | | |
MemoryBase constructor.""
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
constructor."
This reverts commit ddd286301b466b5cd10cfcdc0a5ee5729ef2e385, because the third-party library in question has now been fixed.
Change-Id: Ic195a913f90b36268ed9d6e60be520decb4e198d
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is currently safe to do only for processes that disallow any binder
threads to be created: setThreadPoolMaxThreadCount(0).
Change-Id: I8a27f3cf26f4d51edb7f222af487ac256cbcab65
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
spinning on unexpected error
* commit 'de836890abc7b5381e285833052375cbb85730cb':
Prevent IPCThreadState::joinThreadPool from spinning on unexpected error
|
| |\ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
unexpected error
* commit 'ef07386e2fca73680214ececc3c9c0ecbb0f6d88':
Prevent IPCThreadState::joinThreadPool from spinning on unexpected error
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adds logging to help determine what is happening to the /dev/binder
fd and dump the process state when it happens.
bug: 8912673
Change-Id: I2aa0c66fc499e91e0bf9ee4ae20404bec35adc82
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change-Id: Iecab20db2b8574d5f1e6fdefdc2c8d4ce6c37121
|
|\ \ \ \ \ \
| |/ / / / /
|/| / / / /
| |/ / / /
| | | | | |
* commit '255405eb19e6a3fa7f7bb4de9b07beacdf65ece9':
fix mem leak on error handling
|
| |\ \ \ \
| | |/ / /
| |/| / /
| | |/ /
| | | | |
* commit '86b2ecdd311fca2e1e4a3504bf96bb23c5630492':
fix mem leak on error handling
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I40d8e371c46184aa701fa676246201a9d8f6e27d
|
|/ / /
| | |
| | |
| | | |
Change-Id: I6ff4cfc736751de2912c697f954e45e275f2d386
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
64-bit doubles."
* commit '1cd763f123b9f1a2772ddff15ace81ec07b7660c':
[MIPS] Avoid unaligned load/store for 64-bit doubles.
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Iefdcac8742f23fef31f63730b48698fc4205c3ad
Signed-off-by: Douglas Leung <douglas@mips.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- added a ctor that updates and dumps the stack immediately
- added a "logtag" parameter to dump()
Change-Id: Ie51c256071d282591752243bdb4f68cf9ff8829d
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
for the MemoryBase constructor."
* commit '7212ff29c6f4e4cd192fee6f072e80b36d8a728b':
Second try at adding a compatibility symbol for the MemoryBase constructor.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Third-party libraries are currently trying to use the
MemoryBase constructor but failing because we fixed the
definition of ssize_t. This is a stop-gap for users of
this private API until we can get them fixed.
Bug: 8253769
Change-Id: Ie7c86f45fa39cb53539cab0ffe8585a585656714
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 7f974ff2f317ffbf9256579109f000ec876c3037
Change-Id: I28ebfc5ac88bd025471b613aa7958d23749e6991
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Cherry pick from AOSP to fix the build.
See https://android-review.googlesource.com/#/c/53690/
This reverts commit 7f974ff2f317ffbf9256579109f000ec876c3037
Change-Id: I1b123f446d0ff41e11ff81d4ef5f1472b59cac93
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
MemoryBase constructor."
* commit '9b57ad737bceba9f8d4f5be303c70fa72be00eaf':
Add a compatibility symbol for the MemoryBase constructor.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Third-party libraries are currently trying to use the
MemoryBase constructor but failing because we fixed the
definition of ssize_t. This is a stop-gap for users of
this private API until we can get them fixed.
Bug: 8253769
Change-Id: I8a19770f3252d88ee87023fde625cc6289924b0d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a binder service's main thread joins the thread pool
it retains its name (whatever the exec name was), which is
very confusing in systrace.
we now rename that thread just like its friends in the
thread pool.
Change-Id: Ibb3b6ff07304b247cfc6fb1694e72350c579513e
|
| |
| |
| |
| |
| | |
Bug: 8181262
Change-Id: I3d3f20453f6c6f2756c988363c5b5453ef309cb6
|
|/
|
|
|
|
|
|
|
|
| |
This is to help implementation of bug #8181262 and maybe
bug #8181261
Note the current code has not yet been tested; it is only
known to compile at this point.
Change-Id: I489674c96d0d3fc0ddacc92611931a19a9ee5230
|