summaryrefslogtreecommitdiffstats
path: root/lib/test_objagg.c
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@android.com>2019-02-08 10:35:20 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-12 10:43:57 +0100
commitbde4a19fc04f5f46298c86b1acb7a4af1d5f138d (patch)
tree1062d8eaaf1dbfc760c295387390de1f4022e64c /lib/test_objagg.c
parentc41358a5f5217abd7c051e8d42397e5b80f3b3ed (diff)
downloadlinux-bde4a19fc04f5f46298c86b1acb7a4af1d5f138d.tar.gz
linux-bde4a19fc04f5f46298c86b1acb7a4af1d5f138d.tar.bz2
linux-bde4a19fc04f5f46298c86b1acb7a4af1d5f138d.zip
binder: use userspace pointer as base of buffer space
Now that alloc->buffer points to the userspace vm_area rename buffer->data to buffer->user_data and rename local pointers that hold user addresses. Also use the "__user" tag to annotate all user pointers so sparse can flag cases where user pointer vaues are copied to kernel pointers. Refactor code to use offsets instead of user pointers. Signed-off-by: Todd Kjos <tkjos@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_objagg.c')
0 files changed, 0 insertions, 0 deletions