aboutsummaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorChen Feng <puck.chen@hisilicon.com>2016-02-01 01:04:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 20:34:58 -0500
commita906d6931f3ccaf7de805643190765ddd7378e27 (patch)
tree8a2a1c03c6ea18e631124d36bae2fb8f1badb3de /Kconfig
parent70bc916b2c80913753fb188d4daee50a64d21ba0 (diff)
android: binder: Sanity check at binder ioctl
Sanity check at binder ioctl function, Only allow the shared mm_struct to use the same binder-object to do binder operate. And add proc->vma_vm_mm = current->mm at the open function. The libbinder do ioctl before mmap called. V2: Fix compile error for error commit V3: Change the condition to proc->vma_vm_mm Signed-off-by: Chen Feng <puck.chen@hisilicon.com> Signed-off-by: Wei Dong <weidong2@hisilicon.com> Signed-off-by: Junmin Zhao <zhaojunmin@huawei.com> Reviewed-by: Zhuangluan Su <suzhuangluan@hisilicon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions