Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Wei Dong <[email protected]> Signed-off-by: Junmin Zhao <[email protected]> Reviewed-by: Zhuangluan Su <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information