diff options
author | Todd Kjos <tkjos@android.com> | 2019-02-08 10:35:17 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-12 10:43:57 +0100 |
commit | db6b0b810bf945d1991917ffce0e93383101f2fa (patch) | |
tree | ae9e2393b7db6604fca6650f6f7bbc4ea17bea93 /drivers/android/binder_alloc.h | |
parent | 7a67a39320dfba4b36d3be5dae4581194e650316 (diff) | |
download | linux-db6b0b810bf945d1991917ffce0e93383101f2fa.tar.gz |
binder: avoid kernel vm_area for buffer fixups
Refactor the functions to validate and fixup struct
binder_buffer pointer objects to avoid using vm_area
pointers. Instead copy to/from kernel space using
binder_alloc_copy_to_buffer() and
binder_alloc_copy_from_buffer(). The following
functions were refactored:
refactor binder_validate_ptr()
binder_validate_fixup()
binder_fixup_parent()
Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder_alloc.h')
0 files changed, 0 insertions, 0 deletions