binder: don't allow mmap() by process other than proc->tsk
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 Aug 2012 22:23:36 +0000 (18:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Sep 2012 01:08:51 +0000 (21:08 -0400)
commita79f41ed9786b75ebe75e52295ad54049b8551b6
treed693d2ec11da1a622266daa09e26167a3f66c123
parentc921b40d6201f7ec7b1edf7ea9a844f93e1a27f4
binder: don't allow mmap() by process other than proc->tsk

we really shouldn't do get_files_struct() on a different process
and use it to modify the sucker later on.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/android/binder.c