]> Git Repo - linux.git/commit
android: binder: Move buffer out of area shared with user space
authorSherry Yang <[email protected]>
Wed, 23 Aug 2017 15:46:41 +0000 (08:46 -0700)
committerGreg Kroah-Hartman <[email protected]>
Mon, 28 Aug 2017 14:47:17 +0000 (16:47 +0200)
commit74310e06be4d74dcf67cd108366710dee5c576d5
tree57be21314e48f8b30bdd9831eb6a0bb252808bc9
parent4175e2b46fd4b9021ef81f18f1be9474b2f45d4a
android: binder: Move buffer out of area shared with user space

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.

Signed-off-by: Sherry Yang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/android/binder_alloc.c
drivers/android/binder_alloc.h
drivers/android/binder_alloc_selftest.c
This page took 0.048018 seconds and 4 git commands to generate.