diff options
| author | 2016-02-01 14:04:02 +0800 | |
|---|---|---|
| committer | 2016-02-07 17:34:58 -0800 | |
| commit | a906d6931f3ccaf7de805643190765ddd7378e27 (patch) | |
| tree | 8a2a1c03c6ea18e631124d36bae2fb8f1badb3de /include/linux/stacktrace.h | |
| parent | staging: android: ion: Set the length of the DMA sg entries in buffer (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 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
