linux/drivers/android
Sherry Yang c500f35cf5 FROMLIST: android: binder: Move buffer out of area shared with user space
(from https://patchwork.kernel.org/patch/9928607/)

Binder driver allocates buffer meta data in a region that is mapped
in user space. These meta data contain pointers in the kernel.

This patch allocates buffer meta data on the kernel heap that is
not mapped in user space, and uses a pointer to refer to the data mapped.

Also move alloc->buffers initialization from mmap to init since it's
now used even when mmap failed or was not called.

Bug: 36007193
Change-Id: Id5136048bdb7b796f59de066de7ea7df410498f5
Signed-off-by: Sherry Yang <sherryy@android.com>
2017-09-18 21:14:31 +01:00
..
binder_alloc_selftest.c FROMLIST: android: binder: Move buffer out of area shared with user space 2017-09-18 21:14:31 +01:00
binder_alloc.c FROMLIST: android: binder: Move buffer out of area shared with user space 2017-09-18 21:14:31 +01:00
binder_alloc.h FROMLIST: android: binder: Move buffer out of area shared with user space 2017-09-18 21:14:31 +01:00
binder_trace.h FROMLIST: binder: refactor binder ref inc/dec for thread safety 2017-08-11 19:31:04 +05:30
binder.c FROMLIST: android: binder: Add allocator selftest 2017-09-18 21:14:31 +01:00
Kconfig FROMLIST: android: binder: Add allocator selftest 2017-09-18 21:14:31 +01:00
Makefile FROMLIST: android: binder: Add allocator selftest 2017-09-18 21:14:31 +01:00