android: binder: add extra size to allocator.
authorMartijn Coenen <maco@google.com>
Fri, 30 Sep 2016 12:05:40 +0000 (14:05 +0200)
committerAmit Pundir <amit.pundir@linaro.org>
Tue, 15 Nov 2016 14:53:03 +0000 (20:23 +0530)
commitd7c114e9e7acd710307306090f4c4d70b48dec9c
tree391f487e3fab3be6ab40cdff111812a7c7cbeb5e
parent6ea3f1848b6c7fa1d419fe1dad799c09c8d003c2
android: binder: add extra size to allocator.

The binder_buffer allocator currently only allocates
space for the data and offsets buffers of a Parcel.
This change allows for requesting an additional chunk
of data in the buffer, which can for example be used
to hold additional meta-data about the transaction
(eg a security context).

Change-Id: I58ab9c383a2e1a3057aae6adaa596ce867f1b157
Signed-off-by: Martijn Coenen <maco@google.com>
drivers/android/binder.c