commit | 74310e06be4d74dcf67cd108366710dee5c576d5 | [log] [tgz] |
---|---|---|
author | Sherry Yang <sherryy@android.com> | Wed Aug 23 08:46:41 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 28 16:47:17 2017 +0200 |
tree | 57be21314e48f8b30bdd9831eb6a0bb252808bc9 | |
parent | 4175e2b46fd4b9021ef81f18f1be9474b2f45d4a [diff] |
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 <sherryy@android.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>